Because we start off with the candidate solution matching the real roots, and we continuously move the roots to swap them. At every point of the movement, the candidate solution match the real roots (including order) by assumption, and so if at the end of the movement the candidate solution returns to its initial state, i.e. it's equal to the swapped roots, then that would contradict continuity. Does that make sense?