LemonJam
A charge of malicious communication/s under The Malicious Communications Act is neither a female or male crime or a sexual crime- if indeed that is the charge the police decide to apply. The MC Act law is applied in the same way to both sexes equally.
Scotland's Crown Office and Procurator Fiscal Service has published Guidance for prosecutors in relation to transgender accused is easily available on line if interested. It looks very similar to England Wales guidance.
As I pointed out earlier in this thread, here in Scotland we have the Hate Crime and Public Order (2021) Act, and it seems likely that any charges would be brought under that. When various posters spoke about certain crimes not being women's crimes, it was in a more general sense and not strictly to this particular case.