But that's not what the article is talking about, it's talking about male-dominated fields that were once female-dominated and vice versa.
Other fields mentioned either require longer hours or were simply more demanding. We can get into what are reasonable hours or demands in a separate conversation but all things equal, employers are going to pay more for someone who works longer and puts up with more demands.
For everything else, when you introduce half the working population to a field that they were once closed off to, wages are going to drop. I am not pretending that it's the only factor but a huge over supply of labor will cause wages to drop; all things equal.