Time dilation effect
Time passes at different speeds (stating it simplistically) for the traveller and the origin (slower for the traveller). Hence, for the traveller, the other traveller going in the other direction is not moving at superluminal speeds.