Never mind traditionally, this is still true, even in the most egalitarian countries (Scandinavian countries).
Women have to choose between family and career, men don't really have to do that. The biggest driver behind the gender pay gap is the difference between women with children and women without. Somehow we haven't solved the issue that it's a cost borne primarily by women.