I'm pretty sure my father wasn't turned gay by PFAS and other forever chemicals (which weren't even in widespread use when he was born), it's that he grew up in an area and an era where coming out as gay could get you murdered (if you were merely ostracized, you got off easy), and it wasn't until societal attitudes had shifted that he felt safe enough to leave my mother and be with who he wanted to.
If I had to worry about that, I (a lesbian) would probably still be in the closet, too. And I probably would have married a man to deflect suspicions, much the same way my mother was a beard to my father.