The twinkling of stars is due to atmospheric
refraction of light by different layers of varying refractive indices
The explanation for the correct option:
In the case of option B,
The explanation for the incorrect options:
Hence, option(B) is correct.