Input (grade 4): This is due to the bending of light rays as they move from the water to the air.
Output (grade 6): This is because of the bending of light rays as they move between the air and the water.