A better question is why it is that female-dominated careers tend to pay poorly, rather than why it is that women tend to go into less-remunerative careers. There's no ironclad culture-independent reason why, say, an English teacher should be paid less than a cybersecurity guy.
cybersecurity (generally) requires more brains than English teacher AND they have to keep learning. You only need to learn how to teach English once. Bad things will happen to lots of people if the cyber security person fails at his job for one moment. An English teacher can just be a sh**t teacher and nobody would even notice the difference for years. Bad cyber security professionals will get fired and not be able to work in cyber security anymore. Bad teachers just keep teaching.
(oddly, I just had this almost exact same conversation with my sister like 3 weeks ago. She teaches you see and found out how much the cyber security guy in her district makes...it was more than any principal and she thought that was wrong)
The other side needs to come up with better examples, the last time we did this someone wondered why parking lot attendants get paid more than day care workers.
There are many reasons why different jobs get paid different wages, very little to none of it has to do with what gender tends to take those jobs no matter how much you all might want there to be. Dangerous, gross, hard jobs are going to pay more than safe, clean, easy jobs. My 23 yo Niece gets paid way more than 23 yo son, why? Because working for the water department is gross, working in N.StLouis is dangerous...that's what my niece does. My son draws stuff for people on the internet, it's easy and safe. He makes
just enough to keep living in my basement. But those are exceptions, generally men are more willing to do the dangerous, gross and hard jobs. Yes, sometimes the cultures that surround those jobs can be misogynistic and we should fight that every time we see it. It sucks that that scares some women away from some of those jobs and we should do what we can to get rid of those attitudes.