Sand doesn’t retain heat very well: when heat and light from the sun hits a sandy desert, the grains of sand in the top layer absorb and release heat back into the air. During the day, sandy radiation from solar energy overheats the air and causes a sharp temperature rise. But at night, most of the heat in the sand is quickly radiated, making the sand cold.