Question
Why do the stars appear displaced away from the sun?
Solution

The rays that are coming from the stars bent towards the Sun because of the higher gravitational field of the Sun. Hence, they appear displaced.