And this is in addition to how the trope of a loved one getting killed off is a trope writers use in general as a motivation to get stronger and become better people to do better, used with Batman who became popular, and with Uncle Ben for Spider-Man who also became popular in the first place. Even Stan Lee and Ernie Hart writing the origin of the Wasp had her dad get killed and have this line be spoken here:
“She’s changed! The bored flighty shell she wore is gone! She has determination, strength of character!” - Tales to Astonish #44 (June, 1963)
Now, if there are male writers out there purposefully writing female characters to lose their glory and become victims of tragedy out of a grudge against women, then they can be called out as they should and even risk losing their jobs in case they refuse to overcome their self-destructive ways, and be dealt with from there and perhaps even be used as a point of discussion as to how female characters can be handled more responsibly, but to accuse writers writing the girlfriend, wife, or daughter of a protagonist as inherently being misogynist because they died, despite as responsibly as it could have been handled and considering how dads have tragically lost their daughters in real life and the like, then that probably becomes a different matter entirely at that point.