Why does a straw look bent in water?

Refraction

Light bends away from the normal as it leaves water. Your eye traces the outgoing ray straight back, so the underwater point appears shallower and the straw looks kinked at the surface.

Change only the viewing angle from the surface normal. Solid lines show the ray; the dashed line traces it backward. Compare apparent depth.

Model readings with the default settings
A/BViewing angleApparent depthRay angle in water
A20°14.6 cm14.9°
B60°9.9 cm40.5°

The point is 20 cm deep in water with index 1.333. One point and one flat boundary are traced; glass walls, ripples and binocular vision are omitted.

OpenStax · Images Formed by Refraction