Nobody should be beat up for simply entering a sex-segregated communal restroom, assuming that is what happened.

But why did this male-identifying female even ask which restroom she should use? She appeared male. Why didn't she simply access the male restroom?

TIFs confound me. They self-exclude from womanhood...make attempts to appear male, but then continue to access female sex-segregated spaces, services, and sports when the need arises, thereby helping to ruin the sex-segregated nature of these phenomona.

because she knows what she is and feels unsafe so she wants the best of both worlds, as highlighted by the fact it was men who beat her up for being in the womens bathroom, not other women.