what property of light causes bending
The fundamental process at work in a rainbow is refraction -- the bending of light. Light bends -- or more accurately, changes directions -- when it travels from one medium to another. This happens because light travels at different speeds in different mediums.