why do stars twinkle
Answers
The movement of air in the atmosphere of Earth causes the starlight to get slightly bent as it travels from the distant star through the atmosphere down to us on the ground.
To our eyes, this makes the star seem to twinkle.
Light from stars passes through the atmosphere. The different layers of atmosphere are moving hence, its refractive index is changing. As the light is bent at different angles at different points of time, their position does not appear fixed and hence, they twinkle.The twinkling of stars is due to atmospheric refraction of star-light. The atmosphere is made of several layers and the refractive indices which keep on changing continuously due to this path of light rays from the star keep on changing their path continuously. As a consequence the number of rays entering, the pupil of the eye goes on changing with time and the stars appear twinkling.