You were probably confusing subrings with ideals. An ideal $K$ of $R\times S$ is of the form $K=I\times J$ with $I$ an ideal of $R$ and $J$ an ideal of $S$. Indeed, if we consider
$$
I=\{r\in R:(r,0)\in K\},
\qquad
J=\{s\in S:(0,s)\in K\},
$$
we can show $K=I\times J$.
Suppose $(r,s)\in K$; then $(r,0)=(r,s)(1,0)\in K$, so $r\in I$; similarly, $(0,s)=(r,s)(0,1)\in K$, so $s\in J$. Hence $K\subseteq I\times J$.
If $r\in I$ and $s\in J$, then $(r,s)=(r,0)+(0,s)\in K$; therefore $I\times J\subseteq K$.
If you look closely, you'll notice that actually right ideal has been used; it's easy to modify the proof for left ideals.
For subrings this trick doesn't work and, indeed, $\Delta_R=\{(r,r):r\in R\}$ is a subring of $R\times R$ which is not of the form $A\times B$.
More generally, the minimal subring $P$ of $R\times S$, that is, the subring generated by $(1,1)$, is of the form $A\times B$
Suppose $A$ and $B$ are subrings of $R$ and $S$ respectively and $P=A\times B$. Then, for every integers $m$ and $n$, $(m1,n1)\in P$, so
$$
(m1,n1)=k(1,1)
$$
for some integer $k$. Just take $m$ and $n$ such that the greatest common divisor of the characteristics of $R$ and $S$ doesn't divide $m-n$ and you get a contradiction, provided the characteristics are not coprime.
We have proved that for any pair of rings (with nonzero identity) $R$ and $S$ having coprime characteristics, there exists a subring of $R\times S$ which is not of the form $A\times B$, for any choice of subrings $A$ of $R$ and $B$ of $S$.