Original: This is most commonly observed when a wave passes from one medium to another at an angle.
Simplified: When a wave passes from one medium to another medium, the wave will change its speed and its direction.