Because it appears on both sides of the reaction Cl- is a spectator ion.
LOSSOX – loss of electrons is oxidation.