If $P_1$ and $P_2$ are polynomials such that $C$ divides $P_1-P_2$, then $P_1$ and $P_2$ have the same remainder when dividing by $C$.
To see this, we assume $P_1-P_2=CP$ for some polynomial $P$, and with polynomial division obtain $P_1=Cq_1+r_1$, $P_2=Cq_2+r_2$. Then $P_1-P_2=C(q_1-q_2)+r_1-r_2$. From $CP=C(q_1-q_2)+r_1-r_2$ we can conclude that $r_1-r_2$ is a multiple of $C$, which implies that $r_1-r_2=0$ (because $r_1-r_2$ can't have degree as large as $C$).
This applies with $P_1=AB$ and $P_2=R_1R_2$ because if polynomial division yields $A =CQ_1+R_1$ and $B=CQ_2+R_2$, then $AB-R_1R_2=C(Q_1B+R_1Q_2)$.
A question I see added in a comment is, why can't we say that the remainder of $AB$ when dividing by $C$ equals $R_1R_2$? The reason is that $R_1R_2$ might have degree as large or larger than $C$. Example: $A=B=x^2+x$, $C=x^2$, $R_1R_2=x^2$, but the remainder of $AB$ when dividing by $C$ is $0$.