Why do I have frequent bowel movements in the days before labour?

The uterus is in close proximity to the rectum, so the contractions stimulate the rectum to produce bowel movements, causing frequent bowel movements.