Gender emerged as a dimension of social stratification because the differential reward and punishment attached to sex based biological difference.
In pre modern times these differences in reward and punishment had explicitly social sanction