If they could make it elsewhere, they would.
I don’t expect this to be a popular take here, and most replies will be NAXALT fallacies, but in aggregate it’s the truth. Sorry, your retired CEO physics teacher who you loved was not a representative sample.
Hey, he was Microsoft’s patent attorney who retired to teach calculus!
https://www.swissinfo.ch/eng/society/swiss-salaries-teachers...
I would question the utility of engaging.
Moreover, women never needed to start out as teachers to "be ready for childcare". The childcare expectations were much lower at the time, but amount of chores at home massively higher.
"and then a bunch" is somewhat misleading. They in fact take easier and fewer classes in the subjects that they are studying for, but they have to take extra classes on education, which afaik are not that hard to pass. Getting a "Lehramt" degree is much easier than getting the regular degree in a subject, which is why many people that are simply not good enough for the real thing do it.
Also we have a teacher shortage and more and more teachers are not in fact people that received an education you usually have to get as a teacher, but are just regular people with either a degree in the subject they are teaching or a degree in almost anything (depends on how desperate the schools are and what subjects they are hiring for).
Because if you're putting forth the assertion "If they could make it elsewhere, they would." you've certainly had spent sometime teaching, yes?
I think it would be good to understand how much experience teaching it took for you to come to that conclusion.