Makes perfect sense if it fits with your personality - and to some degree gender influences personality.
I don't know how many times I've been told to "smile!" when people thought I was female and it bothered me no end. I'm not a humorless character, but telling me to smile and be bubbly and happy and harmless-looking [because that's what those people thought a girl should be like] isn't who I am. I'll smile if there's something to smile about, but not just so other people can feel more comfortable with me. A woman who doesn't smile much and doesn't make herself agreeable tends to get some kind of disapproval, I notice. It angers me to think I warped a natural part of my personality to seem more agreeable to these idiots, and to hear myself sometimes falling back into it to try to make them more comfortable, ignoring my own need to feel more comfortable.
The result of these kind of pressures not only makes you into what you aren't, but it makes you start to dislike, and hate and suppress, and develop unhealthy behaviors, all the rest of it.
My stepfather's mother bought a dog once when she was clearly too old to take care of it so the wretched thing didn't get the kind of attention and exercise and life it needed. It was a breed meant to be very active and exercised regularly, but in that house it was confined to small spaces all the time, yelled at for barking or playing around, or doing anything natural to dogs, basically. I saw what was going on and tried to get it out in the park as often as I could but I couldn't be around all of the time to do this. Eventually the thing became neurotic and overweight and destroyed the furniture and they contemplated getting rid of it. And his mother was like, "what did I do wrong? Must be the dog had something wrong with it."
Well, you treated a dog like a cat, for starters. You ruined it.
I think the same thing eventually happens to those of us who can't be our natural selves. We might not wreck the furniture but we start to wreck ourselves internally, looking for an outlet. Sometimes that outlet can manifest as a hatred for the gender we don't belong in, when there's no reason we'd be hating it if we were in the right place at all, or a hatred for ourselves. I was raised by a feminist (somewhat man-hating) mother so, it was difficult for me to reconcile my personal hatreds as well. I don't have any hatred of women, now that I am sure I am not one of them. But back when I was not able to see clearly, I certainly felt an abject frustration with aspects of femininity. You just can't make a dog into a cat, so to speak, no matter what feminists say about there being no difference between men and women. What they probably should say is there's not much difference between what we might be able to do or achieve in life, but the differences are there.