Late in pregnancy, the human body carefully prepares fetuses for the rigors of life outside the protection of the womb. Levels of cortisol, a stress hormone, ramp up and spike during labor. Catecholamines, another stress hormone, also rise at birth, helping to kick start the necessary functions that the baby will need to regulate breathing, heartbeat, blood pressure and energy metabolism levels at delivery. Oxytocin surges, promoting contractions for the mother during labor and stimulating milk production after the infant is born.
source https://www.lifetechnology.com/blogs/life-technology-news-blog/autonomic-nervous-system-appears-to-function-well-regardless-of-mode-of-childbirth