Just a thought - maybe I’m way off base. But since the breakdown of the family over the past 50 years or so, many woman increasingly live their 9 months of pregnancy as single women, in stressful or even violent environments. Life begins at conception which would lead me to conclude that a fetus can sense and can be negatively affected by stress or trauma of the mother even before birth. Many homosexuals I know will tell you that the have had significant issues with a parent, often same sex parent. I’ve often wondered why more and more kids at a young age are “coming out” as homosexuals. I suspect it is the natural consequence of the breakdown of the family.
Someone once did a study of a spike in homosexuals in Europe after World War in their homeland that supports your theory. Wish I could find it.