The gist of what you’re saying is true: family instability causes one to question their identity. You fixated on sexual identity so explain why.
In my experience families that are dirt-poor but land-rich tend to have successful offspring. Maybe that sense of place contributes to the needed stability for children to do well as adults.
https://today.duke.edu/2022/03/lead-exposure-last-century-sh...
The situation in my case was so extreme that my father ended up with custody, but from what I’ve heard from others it doesn’t sound like the government is standing for the interests of the children. The courts for example, in my fathers parents’ divorce, gave custody go him and his siblings to his broke, alcoholic mother instead of his mentally and financially stable father.