Genes are physical, and so are circumstances. So, I would say that genes and circumstances physical do not decide what your spiritual heart desires.
And a preference is a desire; so what you prefer is in your heart.
And Jesus does say, "'For where your treasure is, there your heart will be also.'" (Matthew 6:21)
So, I do not buy that gay preference is decided by physical genes and outward circumstances. But an atheist might not believe in the existence of spiritual beings; so an atheist could think that material things like genes can decide a person's personality and preferences . . . if the atheist does not believe in the existence of deeper, nonmaterial and therefore spiritual reality.
But Jesus shows that we do have hearts spiritual, I understand. So, I would say, going by the Bible, that sexual preference is decided by what a person treasures in one's heart . . . not by genes and circumstances.
Even if a person has a bad upbringing by parents, still it is possible for the child to know other children who have been brought up right, and get to know these children and discover they don't "have" to be the way their own parents are influencing them to be. Good example can win people to "faith working through love." (in Galatians 5:6)
Also . . . if the Bible says that gay stuff is wrong, then any "tendency" to do a wrong thing would be a wrong tendency wouldn't it? So, it is not enough to stop the wrong behavior. God is able to correct us in the character of our hearts and emotions so that we are not available to being messed-with by wrong desires and preferences. In God's grace we have this almighty and sweetly soothing immunity to sin-sick stuff. His power is greater than any "drives" that are dictatorial and bossy and nagging . . . like Satan and his spirit is (Ephesians 2:2). "You are of God, little children, and have overcome them, because He who is in you is greater than he who is in the world." (1 John 4:4) But we all need to grow in this, so we overcome whatever can get the better of any of us > and have compassion about others > "He can have compassion on those who are ignorant and going astray, since he himself is also subject to weakness." (Hebrews 5:2)
The Bible tells us that gay stuff is wrong, because we need to know this for ourselves so we do not get into what is wrong. And we need to know, then, that any thinking or feelings or starting of a tendency is wrong, if it is for a wrong thing, and right away battle this by submitting to God to win the battle > "Therefore submit to God. Resist the devil and he will flee from you." (James 4:7) If a wrong thing starts in me, it is ridiculous for me to make it my identity!! And making a pleasure preference my main thing of identity is not exactly making my identity all about Jesus.
I think a lot of worldly people are about pleasure. So, a gay sexual preference can be really about preference for pleasure. Because sexual sensations are nice feeling and fairly easy to get . . . usually not needing much money or intelligence or honesty to get sexual pleasure.
But people say it is a no-no because the Bible says so. And we already know how little children and teenagers, even, can scream how we hate them when we tell them they can't do something that is wrong. And they can suffer so much, emotionally, and say we are abusing them. Well, if someone were to effectively mess with you getting your pleasure which you really treasure, how might you be able to react? Any of us can get pretty nasty, hurt, and confused, when someone either threatens or effectively interferes with us getting what we selfishly treasure.
So, if ones claim that "gays" are being "hated" and rejected, what this can be talking about is ones are suffering about not being told that their wrong stuff is ok. And, like I say, there are plenty of "straight" people who can be very crooked in how they react to not getting their selfish way. So, when someone claims that a gay person was "hurt" by Christians . . . I understand this can be talking about how really Jesus people have simply refused to go along with accepting what the Bible says is wrong.
And . . . in the degradation of selfish pleasure seeking, any of us can fail to grow and develop really right for loving any and all people like Jesus wants . . . including in personal and close sharing > in selfish loving we can have a way of keeping distant, until and if we find who we can use for what we want.
In our selfish pleasure seeking and selfish love-styles, we are weak enough to be easily hurt and even take people's caring things the wrong way. And then we can complain about how no one loves us, and church people are abusing us. But Jesus makes us strong for real loving > "And who is he who will harm you if you become followers of what is good?" (1 Peter 3:13)
This is how some look for mates in church, even > they can show me much interest . . . until they find out I'm not interested in marriage > being a real Christian brother is not good enough for someone, if she can't use me for the pleasures she wants.
I would say,
having "chemistry" for pleasure is not exactly the same as loving!
So, the real loss of preference for pleasure is how ones do not know how to love. And so they are not in God's love which would satisfy them and keep them safe emotionally in Jesus Christ's "rest for your souls." (in Matthew 5:46) In selfish loving and pleasure seeking we can stay weak enough to get into different kinds of personality torments (1 John 4:18) and not do well in relating with any and all people in God's love . . . because, in selfish stuff mainly about ourselves, we are not in His love which protects us emotionally and has us enjoying sound relationships with others who are also all-loving (Matthew 5:46).
So, I would say if someone has a sexual preference problem and wants to change . . . the person does not first need to seek to like ones of the other "sex". But first seek God for Himself (Matthew 6:33, Hebrews 11:6) and how our Father corrects us (Hebrews 12:7-11) to be sharing with Him and submissive to Him in His peace with almighty power to protect us from wrong stuff messing with us. And be corrected and healed into how He has us loving and relating with any and all people.
And, therefore, instead of first sorting people out by if we should be attracted to them or not, first love each person, then discover how God blesses
"Let all that you do be done with love." (1 Corinthians 16:14)