The gap between the earnings of younger women and men

The gap between the earnings of younger women and younger men is considerably smaller than the gap between the earnings of older women and older men. Question: Why is the gap becoming smaller?