Speaking from experience of my own issues and what i've seen from the LGBT community, it often comes from gender/body dysmorphia and feeling envious of the other gender for being more "free" or "stronger" in their own ways. Its very much a grass is greener on the other side situation.
I've seen a lot of femboys, trans women and whatever say they LOVE the attention being openly feminine/female gives them but also the "power", the "freedom" and such. More freedom to be sensitive, submissive, vulnerable, emotional and even receive love, adoration and even just basic fucking compliments!
I've seen girls say they want to be men because they want to be "stronger" physically especially but also emotionally because men are stereotypically emotionless brutes (Chads/gigachads) and they wish they couldn't be so "sensitive/fragile/emotional/helpless" (as they said in their own words, don't shoot me/the messenger please ffs).
Its a lot of stereotyping, self hate, internalised sexism even as well as dysphoria as I mentioned.
People are being made to feel more insecure about themselves than ever before in society and it's only gonna escalate even more.