from the train에서 marks the place where an action happens or the point from which something departs. With verbs like 내리다, it means “from the train” or “off the train”; in other contexts, it can mean “on the train.”
KO: 기차에서 내린 후에 친구에게 전화했어요.
EN: I called my friend after getting off the train.