https://en.wikipedia.org/wiki/Twinkling
Twinkling, also called scintillation, is a generic term for variations in apparent brightness, colour, or position of a distant luminous object viewed through a medium. If the object lies outside the Earth's atmosphere, as in the case of stars and planets, the phenomenon is termed astronomical scintillation; for objects within the atmosphere, the phenomenon is termed terrestrial scintillation.