Evaporation causes cooling!
When water is sprinkled on the roof top or ground it evaporates because of the latent heat of vaporisation leaving behind a cooling effect. in case of ground, this evaporation causes cooling of the surrounding area after some time; whereas in case of roof top the room beneath is cooled.