On the origin of the deflection of light