Original: For example, a light ray will refract as it enters and leaves glass, assuming there is a change in refractive index.
Simplified: When looking at a certain angle, the straw appears to bend at the waters surface.