This compares the people to a woman giving birth. This emphasizes their suffering and crying when Yahweh disciplined them.