The light from a star reaches us after refraction as it passes through various layers of air. When the light passes through the earth?s atmosphere, it is made to flicker by the hot and cold ripples of air and it appears as if the stars are twinkling.