There's no such thing as "being born in the wrong body".
Does a cat say "Why am I not an elephant??"
Souls know EXACTLY what they are doing before PICKING potential physical vehicles to experience life in the matter.
I say potential because sometimes there are unexpected changes to contracts. Once in the womb contracts have already started.
Souls are whole, not more masculine than feminine and vice versa.
Souls experience both genders multiple times and sometimes several times in a row as one or the other.
At some point after having gone through enough experience in one gender they CHOOSE to experiment the other for BALANCE. They know it's gonna be difficult because the one gender they are switching from has become a HABIT, their natural state of feeling and being. They nonetheless make a decision, again for balance.
You know the rest.
Unfortunately, the controllers of this world INTERFERED with this process and made it even more difficult for incarnated souls.