The sky is blue because of the refections of objects reflecting on the Earth's atmosphere from space (the Sun), and these effects can change during time. Without the sun it would be dark in the day. So these chemicals create the blue sky. It's actually a lot more technical than that, but obviously I can't go posting a load of mumbo-jumbo that no-one will understand.