As a trans woman, I can assure it’s true. I was always socially-awkward and alone, but even then I had advantages only because I was a “guy”. When I transitionned, people were not interacting with me like before, it was really surprising, and honestly, sad.
It also had good effects, I discovered sorority, and I made really good women friends. A part of it is because I now have the same struggles as theirs, with trans-struggles in a addition