Water vapour in the atmosphere acts like numerous tiny prisms, to refract incident sunlight. Because blue light is refracted more than red, when the sun is low in the sky more of the light directed downwards less, that we see, is red, so the sky appears red.