Why do stars twinkle but planets don't?
Stars are so far away that each one is a single point of light, and moving air keeps bending it. Planets are closer, so their light comes from a tiny disk and holds steadier.
Wobbly air. Earth's atmosphere is full of moving pockets of warm and cool air. Each pocket bends light a little differently, so starlight dances on its way to your eyes.
Points versus disks. A star's light arrives as one tiny point, so every wobble shows. A planet's disk is made of many points, and their wobbles average out, so the planet shines steadily.
Space telescopes don't see it. Above the atmosphere, stars don't twinkle at all. That's one reason NASA put the Hubble and James Webb telescopes in space, far from our wobbly air.

Sources: NASA and Scientific American. How we check our facts
