It's not just about risk of being attacked though.
It's about having the right to feel comfortable away from the male gaze.
Some women may feel ok about having men around while they're in various states of undress and yes, most men are fine, but after a lifetime of bullshit from creepy ass men who have humiliated me, objectified me, degraded me from the age of 12 I don't want to have to deal with them when I'm vulnerable.
And men have been known to put spy cameras wherever women and girls' bodies are likely to be seen.
So your friend 'Tasha' may be a lovely trans woman, your dad 'Jake' may be a sweetheart but pervy 'Bob' and misogynist 'Dave' are also at large in these circumstances. And I'd rather they weren't.
Far more women are upset at opening our spaces to males than there are trans people who get upset about not being allowed wherever they like. Why don't women matter?
#nothankyou