Just before the periods, the prostaglandins relax the smooth muscles inside the uterus causing the lining of the uterus to shed. A similar impact happens on the bowel causing an increased tendency for bowel movement.