When we sleep we do not know what is happening around us, the Duas and Soorahs we say before going to bed keep us protected from bad dreams, thoughts and especially the Shaytaan.