It's a common pattern throughout history and one that really annoys me. People argue that the pay gap isn't real because men choose more highly-valued positions, but the reality is that positions favoured by women are inherently considered low-value. If some type of "women's work" somehow starts to become respectable or starts to pay better, it stops being "women's work" and the women are pushed out. If women start entering a respectable field and the field becomes "women's work", it stops being respectable. You can see it with the salaries of doctors in Russia, and the narrowing definition of what is considered "hard science" or STEM as women enter these fields in the US. It has very little to do with how difficult or important the work is.