So, the male editor was inserting his own biases and stereotypes into your story without even reading it. I am not surprised after what my wife has gone through in her medical research career.
I touched on that subject in my article Stereotypes and Prejudices Everywhere.
Suppressing females anywhere is like having a wheat field large enough to feed everyone, then burning half of it. It’s idiocy not to use all of your assets.