Because during the day, saliva protects your teeth from harmful acids. When you sleep, though, your body generates less saliva, making your mouth dry. When you go to bed without cleaning your teeth, you increase your chances of getting cavities.