The answer is A) velocities.
Different mediums can, by an amount very difficult to measure and impossible to see, cause light to move at different speeds. This causes the wave fronts to bend, or refract, leading to distinct light rays as the light moves through and exits the medium.