A positive feedback loop.
The head of the fetus pushes against the cervix, which sends nerve impulses to the brain, which then tells the brain to stimulate the pituitary gland to secrete oxytocin, which is carried in the bloodstream to the uterus, which stimulates uterine contractions and pushes the fetus towards the cervix, causing the cycle over again until the fetus is born.