Say we have the expression $$\frac{a}{b}=\frac{a+3}{b-8}$$
When we cross-multiply the terms we end up with $$a(b-8)=b(a+3)$$
If we try $a=-3$ and $b=8$ in the previous expression we get $-3(8-8)=-8(-3+3)$ that results into $0=0$. As both sides are equivalent and equal to zero, this means that the choice $a=-3$ and $b=8$ is a solution to the first expression (on the top). Is this true?
But if we replace $a=-3$ and $b=8$ directly in the expression at the top, then we have $$\frac{-3}{8}=\frac{0}{0}$$ which tells us that $a=-3$ and $b=8$ is not a solution!
So how to explain this discrepancy?
If we try instead with $a=3$ and $b=-8$ in the cross-multiplied expression, then we have $$3(-8-8)=-8(3+3)$$ which simplifies to $-48=-48$. And putting $a=3$ and $b=-8$ directly in the top expression gives $$\frac{3}{-8}=\frac{6}{-16}$$ which is mathematically equivalent.
I can understand that if $\frac{a}{b}=\frac{3}{-8}$, then $\frac{-a}{-b}=\frac{-3}{8}$ and from the latter we cannot write $\frac{a}{b}=\frac{-3}{8}$ by simply cancelling out the negative signs in the LHS expression.
This is rather basic maths and I hope that someone can shed some light. It can have to do with the properties of the equal sign.