Let $g$ be the GCD of $a$ and $b$ and suppose we found the coefficients $m$ and $n$ such that,
$$ am+bn = g,$$
we want to find another set of coefficients $\alpha$ and $\beta$ which still satsify the above equation. Let $\beta = n+\delta$ and $\alpha = m - \eta$ then we can write,
$$ g = am+bn = a(m+\eta)+b(\beta-\delta) = a\alpha + b\beta + a\eta- b\delta, $$
clearly if we want to mantain the equality we must have $a\eta - b\delta = 0 $. This is equivalent to condition $a/b = \delta/\eta$.
An Example
The gcd of $9$ and $8$ is $1$ since, $9-8=1$. Using what we learned above we can change the coefficients of $8$ and $9$ by sending $$-1\rightarrow -1+9=8$$ and $$1\rightarrow 1-8=-7$$ giving us,
$$ (-7)9+(8)8 = -63+64=1.$$