I dated a guy when I was in my early 20’s who had a brother was gay. I asked him what made him gay and he told me he was molested by a grown man who lived on their street growing up. He said his mom never knew it was happening. He told me that’s what made him turn to men instead of women.
You will find that the vast majority of homosexuals have similar stories. There have actually been medical papers written on it. I used to cite a few articles in JAMA (Journal of American Medicine) when the topic came up.
Molestation when young seems to be the primary cause of male homosexuality, and in at least one very prominent case, appears to be the primary cause of Chastity Bono becoming "transgender."
Chastity Bono was molested by her Lesbian baby sitter while her mom (Cher) was touring around giving concerts.