The motion of centre of mass of a system of two particles is unaffected by their internal forces
Irrespective of the actual direction of the internal forces
only if they are along the line joining the particles
only if they are at right angles to the line joining the particles
only if they are obliquely inclined to the line joining the particles
Because the centre of mass is affected only by external forces not by internal forces.