To look at the twinkling of stars is a wonderful experience". How its happening?

The continuously changing atmosphere (due to varying atmospheric temperature
and density) refracts the light from the stars by varying amounts and in different directions from one moment to the next.