Bowel movements occurring in bed at night will likely be loose and watery stool. This is known as nocturnal diarrhea, and it can be caused by a brief illness or a more serious disorder. Because it often wakes you up at night, it can negatively affect the quality of your sleep.