I think by $A\times I$ you mean the residue ring $A/I$. In this case, you should notice that the sequence $$0\rightarrow I\cap J\xrightarrow{f} A\xrightarrow{\phi} A/I\times A/J\xrightarrow{h} A/I+J\rightarrow 0,$$ where $f(x)=x, \phi(x)=(x+I,x+J)$ and $h(x+I,y+J)=x-y+(I+J)$ is exact, that is, $f$ is injective, $im(f)=\ker(\phi), im(\phi)=\ker(h)$ and $h$ is surjective.
Indeed, it is trivial to see that $f$ is injective, $h$ is surjective, $im(f)\subseteq\ker(\phi)$ and $im(\phi)\subseteq\ker(h)$. On the other hand, given $x\in\ker(\phi)$, we have $(x+I,x+J)=0$, i.e., $x\in I$ and $x\in J$. In other words, $x\in I\cap J=im(f)$. Finally, if $(x+I,y+J)\in\ker(h)$, then $x-y\in I+J$. Let $i\in I$ and $j\in J$ be two elements such that $x-y=i+j$ and take $z=x-i=y+j$. Hence $\phi(z)=(z+I,z+J)=(x-i+I,y+j+J)=(x+I,y+J)$.
From the exactness of the sequence above we conclude that $\phi$ is injective if and only if $I\cap J=im(f)=0$ and that $\phi$ is surjective if and only if $A/I+J=im(h)=(A/I\times A/J)/\ker(h)=(A/I\times A/J)/im(\phi)=0$, that is, $A=I+J$.