Hey Jack, it is the train yhat moves, not the distance.
The object in motion is the reason for the season, if it is ok i say that. Lorentz allows for calculations on moving things.
The distance… Well… Is said to not be moving (ignoring planetary, solar system, stellar, Milky Way, local group, local cluster and super virgo cluster speeds. Can those be ignored?)