Cf. "Einstein's light-clock."
https://www.youtube.com/watch?v=Mpw68rvF4pc
If we transfer the argument to the Einstein- train embankment thought experiment, in which two rays are emitted simultaneously from each end, then because these rays have to reach the middle M' simultaneously, the aft ray has to travel a greater distance, and the fore ray a lesser distance to reach M' on the carriage, as it journeys to the right.
Cf . https://www.youtube.com/watch?v=bRxfxhJBm4g
And Figure 1 (below.)
So the resultant lengths traveled, by the aft and the fore ray will be different in the "really moving" frame, to the same frame considered to be "stationary" -- in which both aft and fore rays will have the same length.
Since the carriage can journey to the right at near light speed, so then the distance the light ray has to traverse becomes indefinitely large for the aft ray, and indefinitely small for the fore ray.
And so the length of the aft ray becomes indefinitely large, and the length of the fore ray becomes indefinitely small.
Reversing the direction of the carriage, switches which ray is indefinitely long and which ray is indefinitely short.
And so, by the Relativity of Motion, each ray, aft and fore, has an indeterminate length.
And since the train carriage has an indeterminate absolute speed (due to the Relativity of Motion,) it follows that the lengths of the optical rays inside the carriage, are indefinite. They can both be anything or nothing.
Since these light rays can have enormous lengths-- galactic distances, or nothing, it is not hard to understand why these light rays reach M' simultaneously, on the moving carriage, with ease.
And so,-- is this why all trains everywhere, have the light arriving at the middle M or M' simultaneously ?