The average age that children start to remember things in their life is after 3 and 4 years old.
Between the time they’re born and to that age, they are very impressionable. Anything you do could influence how a child could live. That could mean a certain thing could influence the child to have feelings for the same gender. This includes their family.
The gene Xq28 is not guaranteed to make men gay.
The gene only increases the chances of same sex attraction, but it also influences sexual attraction in general. That means the gene does not force anyone to be gay. Those who have the gene could stay straight for the rest of their lives even if they have the gene.
Sexual orientation is ultimately a choice. There are many things that could cause someone to be gay. Genetics can play a part or environment can. But no one is born that way.