The correct option is A refraction in the atmosphere.
Atmospheric refraction is the cause of twinkling of stars. When light from the stars enters the atmosphere, the constantly moving atmosphere refracts this light in different directions. Thus the stars seems to be twinkling for the observer.