As you keep reading down to verse 26 it states that GOD GAVE THEM UP TO
DISHONORABLE PASSIONS and Paul goes into detail of these
dishonorable passions stating that women changed their natural relations for relations that go against nature and that the men likewise gave up their natural relations with the women and were consumed with passion for one another, men committing shameful acts with men.