Every person is genetically different from another, even twins. There might be similarities with their family members but everyone is built differently. Some people lose hair fast. Some people go blind first. Some people can gain weight easier. Sexuality is the same. People naturally feel an attraction towards their sex if they were born gay.
https://en.wikipedia.org/wiki/Homosexuality_in_the_militaries_of_ancient_Greece