Stars twinkle because they’re so far away from Earth that they appear only as pinpoints. And it’s easy for Earth’s atmosphere to disturb the pinpoint light of a star. As a star’s light pierces our atmosphere, each single stream of starlight is refracted slightly and therefore they appear to twinkle steadily.
Planets shine more steadily because they’re closer to Earth and so appear not as pinpoints, but as tiny disks in our sky. The light from the planets travel in a zig-zag path and cancel each other out, and that’s why planets appear to shine steadily.