My guess
The object blocking the sun must be bending the light rays, each wave-length slightly- so that they form a ‘rainbow’ around the shadow. I think it has more to do with the air around the object. I figure that maybe the air around the object is denser the air. This could be caused by the object heating the air slightly. This denser air wouldn’t be very thick, but it would be enough to bend the light.
