The sex of the baby determines the way it responds to stressors during pregnancy and its ability to survive pregnancy complications.