The constant urge to pass a stool, and the abdominal pain that may go with it, can be caused by constipation, a stomach bug, lactose intolerance, or a more serious problem like irritable bowel syndrome, food poisoning, or a bowel obstruction.