In an area where nothing was known, medicine had to draw on social lore.
We're born man, woman and sexual beings.
Sure! Why should any experts be the arbiters... That's like telling someone they can't be a vegetarian.
We learn our sexual preferences and orientations.