The air from the qanat is drawn into the tunnel at some distance away and is cooled both by contact with the cool tunnel walls/water and by the transfer of latent heat of evaporation as water evaporates into the air stream.