The correct option is B atmospheric refraction
Light from the stars has to come the layer of atmosphere over Earth. The optical density profile of atmosphere keeps on changing. Hence, the amount of refraction due to atmosphere also keeps changing. Due to this, the apparent position of star keeps on shifting. This causes the twinkling of stars.