This is based more on what kind of jobs women apply for and less about gender inequality
Men statistically work more hours, and take jobs that pay more. If there were as many women in the work force as men with as much variety in what jobs they take, the pay disparity would disappear.