How brain changes, hormonal shifts, genetics, and environmental factors contribute to postpartum depression and influence maternal mental health.