text: Stars twinkle because of turbulence in the Earth's atmosphere. You can think as the atmosphere being made up of several "layers." Each layer has a different temperature and density. As the light from a star passes through the atmosphere, it is bent by each layer, and we perceive the twinkling. \n\nThe bending of the light when it passes from one medium to another, like water to air, or one layer of air to another, is called refraction. Refraction is what makes a straw look bent when you put it in a glass of water. Refraction also makes the stars and the Sun near the horizon look higher in the sky than they really are. In fact, when the Sun is setting, we are seeing the sun's disk when the Sun is already below the horizon!\n\nhttp://www.mira.org/fts0/stars/text/txt001c.htm