Answer:
Desert is hot throughout the day because of lack of water and desert are cold throughout the night because sand cannot hold heat, so for the period of night when the sun is not shining the sand loses all its heat and compose desert cold. So during the night when the sun is not unblemished, the sand loses all its heat, making the desert night cold. Sand is the main cause why deserts are hot during the day and cold throughout the night.