I would explain it in this way, don't know how much correct it is: if I send n pulses of light or anything else (balls, objects, ecc.), I have to count exactly n pulses of it in every reference frame (I don't know how to call it; "invariance of the number of objects"?); in the same way I will have to count n maximums (for example) of an EM wave in every ref frame; this means that the phase of the EM wave must be invariant. I don't know how to formalize it better.
It's a good question. I have ever thought phase is a very important and deep concept in relativity and QM and so, maybe, it's one of the concepts that could link relativity to QM.