Answer:
Due to refraction of light. it is the propery of light that when it passes from rarer medium(air) to denser medium(water), it bents slightly from the surface of separation. So when we see the pencil, it appears to be bent, i water.
Explanation: