“And We have made the night a libasan (a covering/garment),” meaning: a veil that covers the creation so that they may find tranquility within it.
﴿وَجَعَلنَا اللَّيْل لباسا﴾ سِتْرًا يُغَطِّي الْخَلْقَ فَيَسْكُنُونَ فِيهِ