Why do you think the gap itself is a problem as an outcome?
If you prefer a more intuitive take, most of the attempts to dismiss the gender wage gap say things like "women take more time off for families" and "women choose lower-paying occupational fields". But there's no a priori reason those activities and fields should not be more remunerative than they are, and there is evidence that making them more remunerative is beneficial to the economy as a whole.
How so? What difference economically does it make whether a male or female fills a position