Because the heat of the body gradually decreases
Because your body temperature decreases while sleeping