Its sexism all the way down - Sandberg would not have done that to a male subordinate (who's wife was giving birth) and a male boss would not have done that to Wynn-Williams.
Women should not discriminate against women in the workplace because they are women.