It’s due to the refraction of light rays as they traverse the boundary between water and air. The greater the viewing angle, the more the bending of the light and therefore the less the apparent depth. An object placed in a denser medium, when viewed from rarer medium appears to be at a lesser depth than its real depth due to refraction of light.