Refraction causes the swimming pool to appear shallower than it actually is. Light rays from the bottom bend (refract) away from the normal as they pass from water to air, making the virtual image appear raised. This is why objects underwater seem closer to the surface.