The disparity

Why are women who’re equally qualified as their male counterparts, if not more in certain cases, still paid less than men appointed at the same or lower positions?