Parallax

Parallax
A parallax is the apperent change in position of an object seen from different places.

As the earth gets closer to the star the star appears to be closer and as the earth moves away from the star the star seems further away. As the earth get closer and further away from the star the star looks as if it is moving.