An acquaintance of mine used to be of the belief that some gays are homosexual because of bad childhood experiences with women. Is there any sort of truth to this statement? I'm pretty sure it doesn't apply to every single gay person out there but it sounded possible given how the human brain works.

Feel free to disprove the concept with whatever degree of emotion. I'm just interested in its veracity.