There are a large number of pores in an earthen pitcher. When water is poured in it, some of the water trickles out slowly through these pores. The water droplets on coming in contact with air start evaporating. The latent heat of evaporation is partly taken from the pitcher and mainly from the water inside the pitcher. Due to this loss of heat the water cools.