When you are on the train you will simply see the person moving normally towards the rear of the train, however when you are on the ground the train will be passing by so the person moving will either appear to not be moving at all or moving towards the front of the train depending on walking speed.