Mankind was created in the image of God as male and female. Thus, every person is born with a natural affection for the opposite gender. To pervert that affection is to rebel against God on the most fundamental level. God’s common grace prevents most men from becoming sodomites, murderers, or other types of degenerates. It is only the most depraved and rebellious men that God gives over to such abominable acts. But, only by God giving them over to their sinful desires can they commit such acts.
Romans 1:28-32 And, according as they did not approve of having God in knowledge, God gave them up to a disapproved mind, to do the things not seemly; having been filled with all unrighteousness, whoredom, wickedness, covetousness, malice; full of envy, murder, strife, deceit, evil dispositions; whisperers, evil-speakers, God-haters, insulting, proud, boasters, inventors of evil things, disobedient to parents, unintelligent, faithless, without natural affection, implacable, unmerciful; who the righteous judgment of God having known—that those practising such things are worthy of death—not only do them, but also have delight with those practising them.