An object or person submerged in water appears to bend due to the refraction of light: the change in direction of light when it passes through transparent materials. The light rays coming from the submerged part of the object are bent as they leave the water.
Light rays are reflected and absorbed by opaque materials. While transparent objects and certain plastics allow the rays pass through them. While doing so they bend them to a larger or smaller degree
Mirages are also causes of refraction.
Thanks for reading.