After a while, the passengers in train A saw the trees outside the train moving eastward, and the passengers in train B saw that train A didn't move through the window.
explained by the movement of train A and train B seen by the above passengers?
Both trains move westward at the same speed.