Identical twin studies have shown when one is gay, the other is only gay about 50% of the time.
If it was hardcoded and immutable, unchangeable, the second twin would have to be gay 100% of the time.
The fact it isnt shows there is no hardcoding that people simply cannot help but be gay.
It's not the presence of the gene - it's the activation.
but they are exposed to the same stuff livig in the same house with the same parents and such.