Suppose you are sitting inside a train. The train has not started moving yet. Let us call this Train A. You look out from the window and see another train moving in the opposite direction. Let us call this Train B. Now, when you look at Train B, it appears as if Train A is moving in the forward direction. But when you look at a nearby electric pole, you notice that train A was actually at rest and Train B was moving backwards.