the thing with the ball out of the train was like equations of motion, it took me a long while to realise, from the top, you see horizontal, so it remains constant as no force is acting (it remains in the same horizontal position) from the side youre looking at the vertical component, so its accelerating downwards as gravity is only force acting