Rapid changes in a star’s brightness and color caused by turbulence in the Earth’s atmosphere: this is what makes stars twinkle.
Also called: twinkling
Starlight passes through layers of air of different temperatures and densities that are constantly moving. Each layer bends the rays slightly, so the brightness reaching the eye fluctuates several times a second. Near the horizon, the light crosses a greater thickness of air and scintillation is stronger; atmospheric dispersion also separates the colors, so a bright, low star such as Sirius seems to flash red, green and blue.
Planets usually twinkle less than stars. A star is a point, whereas a planet shows a small disk: the fluctuations from different points of the disk partly cancel out. This is a useful clue for recognizing a planet with the naked eye, with exceptions: near the horizon or in strong turbulence, a planet can twinkle too.
For observers, strong twinkling generally signals unsteady air, and therefore turbulence that is bad for high magnification: planets, the Moon and close double stars will look blurred. The relationship is not perfect, since scintillation depends mostly on air at high altitude, but it is a free first indicator before setting up the instrument. Space telescopes and adaptive optics get around these effects.