If I have $12 \equiv 2$ (mod $10$), and then I swap $12$ for $10$ I get $10 \equiv -2$ (mod $12$). So it just negates the residue number.
I was wondering if this is some property or something. Suppose I have $12 \equiv 2$ (mod $5$) then $5 \equiv -2$ (mod $12$) is not true, but for some multiple of $5$ it would be though, namely $5*2$.
Can anyone provide any insight into this?
$a\equiv r \pmod{m}\iff \exists k\mid a=mk+r$
It can be rewriten : $mk=a-r\Longrightarrow mk\equiv -r \pmod{a}$
In your example $k=1$ so you ended up with $m\equiv -r\pmod{a}$ and in fact this will stay true for any $k$ such that $k\equiv 1\pmod {a}$.
But in general $k$ can take any value between $0$ and $a-1$.