When a baby sleeps, his bowels slow down, so poop won’t wake him up. They first wake up and then have a bowel movement.