Let's Pull Those Genes Down for the True Answer
Romans 1: 24 Therefore God gave them over in the sinful desires of their hearts to sexual impurity for the degrading of their bodies with one another. 25 They exchanged the truth about God for a lie, and worshiped and served created things rather than the Creator—who is forever praised. Amen.
26 Because of this, God gave them over to shameful lusts. Even their women exchanged natural sexual relations for unnatural ones. 27 In the same way the men also abandoned natural relations with women and were inflamed with lust for one another. Men committed shameful acts with other men, and received in themselves the due penalty for their error.
28 Furthermore, just as they did not think it worthwhile to retain the knowledge of God, so God gave them over to a depraved mind, so that they do what ought not to be done.
...and every other scripture he can think of
Properly read, one can conclude that the penalty for not retaining the "knowledge of God", was God giving them over to a depraved mind. So, their depravity and inability to overcome can seem to be the doing of the Deity.
However,
The Late Episcopal Priest John Spong suspects the Apostle who wrote Romans might be struggling himself with being a very conflicted gay man in First Century Palestine
Romans 7: 15 I do not understand what I do. For what I want to do I do not do, but what I hate I do. 16 And if I do what I do not want to do, I agree that the law is good. 17 As it is, it is no longer I myself who do it, but it is sin living in me. 18 For I know that good itself does not dwell in me, that is, in my sinful nature.[a] For I have the desire to do what is good, but I cannot carry it out. 19 For I do not do the good I want to do, but the evil I do not want to do—this I keep on doing. 20 Now if I do what I do not want to do, it is no longer I who do it, but it is sin living in me that does it.
Of course, Paul does not share what that heavy and unsolvable problem was just as he dithers over what the "thorn in the flesh" God gave him could have been.
21 So I find this law at work: Although I want to do good, evil is right there with me. 22 For in my inner being I delight in God’s law; 23 but I see another law at work in me, waging war against the law of my mind and making me a prisoner of the law of sin at work within me. 24 What a wretched man I am! Who will rescue me from this body that is subject to death? 25 Thanks be to God, who delivers me through Jesus Christ our Lord!
So then, I myself in my mind am a slave to God’s law, but in my sinful nature[b] a slave to the law of sin.
For Bishop Spong's original chapter on this issue and from "Rescuing the Bible from Fundamentalim" see:
https://www.beliefnet.com/faiths/christianity/2004/04/was-the-apostle-paul-gay.aspx
If really interested in a deeper historical view and cultural setting for the topic, as well as the dilemma the Apostle Paul may have faced ...