The recursion is this: multiply the prior line $\rm\,b^n\equiv a\,$ times $\rm\,b,\,$ to obtain $\rm\,b^{n+1},\,$ i.e.
$$\begin{eqnarray}\rm \color{#0a0}{b^n} &\equiv\,&\rm \color{#c00}a\\
\rm\Rightarrow\ b^{n+1}\! =\, b \color{#0a0}{b^n}&\equiv\,&\rm b\color{#c00}a
\end{eqnarray}\qquad\qquad\qquad\ \ $$
We substituted the argument $\rm\color{#0a0}{b^n}$ of a product $\rm\,b\color{#0a0}{b^n}$ by a congruent integer $\rm\color{#c00}a,\,$ i.e. we used
Congruence Product Rule $\rm\quad\ A\equiv a,\ \ and \ \ B\equiv b\ \Rightarrow\ \color{blue}{AB\equiv ab}\ \ \ (mod\ m)$
Proof $\rm\ \ m\: |\: A\!-\!a,\ B\!-\!b\ \Rightarrow\ m\ |\ (A\!-\!a)\ B + a\ (B\!-\!b)\ =\ \color{blue}{AB - ab}\ \ \ $ QED
There are also analogous sum and power rules
Congruence Sum Rule $\rm\qquad\quad A\equiv a,\quad B\equiv b\ \Rightarrow\ \color{blue}{A+B\,\equiv\, a+b}\ \ \ (mod\ m)$
Proof $\rm\ \ m\: |\: A\!-\!a,\ B\!-\!b\ \Rightarrow\ m\ |\ (A\!-\!a) + (B\!-\!b)\ =\ \color{blue}{A+B - (a+b)} $
Congruence Power Rule $\rm\quad\ A\equiv a\ \Rightarrow\ A^n\equiv a^n\ \ (mod\ m)$
Proof $\ $ It is true for $\rm\,n=1\,$ and $\rm\,A\equiv a,\ A^n\equiv a^n \Rightarrow\, A^{n+1}\equiv a^{n+1},\,$ by the Product Rule, so the result follows by induction on $\,n.$
Beware $ $ that such rules need not hold true for other operations, e.g.
the exponential analog of above $\rm A^B\equiv a^b$ is not generally true (unless $\rm B = b,\,$ when it reduces to and inductive application of the Product Rule).