Why do stars twinkle?
The Human Eye And The Colourful World · Question 10 of 12
Why do stars twinkle?
The twinkling of a star is due to atmospheric refraction of starlight. As starlight enters the Earth's atmosphere, it undergoes refraction continuously before it reaches the eye, because it travels through layers of air with gradually and randomly changing density — and hence changing refractive index — due to variations in temperature and pressure.
Since the physical conditions of the atmosphere are not stationary, the effective refractive index of the medium through which starlight travels keeps changing. This causes the apparent position of the star to fluctuate slightly, and the amount of starlight reaching our eyes keeps changing along with it. As a result, the star sometimes appears brighter and sometimes dimmer — this is the twinkling effect.
Since a star is an extremely distant point source of light, this random refraction has a very noticeable effect. Planets, being much closer to the Earth, are seen as extended sources — the effect averages out across many points of the planet's disc, which is why planets do not twinkle.

