You might find clearer the following way of viewing the proof. Write $\,A = \Bbb Z[i]/(3+i)$.
Note $\, h\!: \Bbb Z \to A\,\color{#0a0}{ \ {\rm is\ surjective\ (onto)}}\,$ by $\bmod\, 3\!+\!i\!:\ \, i\equiv -3\,\Rightarrow\, a\!+\!bi\equiv a\!-\!3b\color{#0a0}{\in\Bbb Z}$
$\color{#c00}{I := \ker h = 10\,\Bbb Z}\ $ follows immediately by $\,\rm\color{#90F}{rationalizing}\,$ a denominator (cf. simpler multiples)
$$ n\in I\iff 3\!+\!i\mid n\ \, {\rm in}\, \ \Bbb Z[i]\iff \dfrac{n}{3\!+\!i}\in \Bbb Z[i]\!\!\color{#90f}{\overset{\large \rm\ rat}\iff}\! \dfrac{n(3\!-\!i)}{10}\in\Bbb Z[i]\iff \color{#c00}{10\mid n}\ $$
Thus $\, \color{#0a0}{A = {\rm Im}\ h} \,\cong\, \Bbb Z/\color{#c00}{\ker h} \,=\, \Bbb Z/\color{#c00}{10\,\Bbb Z}\ $ by the First Isomorphism Theorem.
Remark $ $ We tested divisibility by $\color{#90f}{\textit{rationalizing}}$ the denominator in order to reduce division by an algebraic irrational $\,3+i\,$ to a simpler division by an integer (its norm $=10)$. This is a special case of the method of simpler multiples. Same proof works for $\,a+bi$ when $\gcd(a,b)=1$.
Another view you might find illuminating arises from rewriting the ideal as a module in Hermite normal form: $\ I =
(3\!+\!i) = (10,3\!+\!i) = 10\Bbb Z + (3\!+\!i)\Bbb Z.\,$ But it is trivial to test module membership given such a triangularized basis, namely
$$\begin{align} a\!+\!bi = a\!-\!3b +b(3\!+\!i)&\in I = 10\Bbb Z + (3\!+\!i)\Bbb Z\\
\iff\ a\!-\!3b&\in I\\
\iff\ a\!-\!3b &\in 10\Bbb Z \iff 10\mid a\!-\!3b
\end{align}$$
Further this shows that $\, a\!+\!bi\bmod I\, =\, a\!-\!3b\bmod 10.\ $
The criterion generalizes to an ideal test for modules $\rm\,[a,b\!+\!c\:\!\omega]\,$ in the ring of integers of a quadratic number field, e.g. see section 2.3 Franz Lemmermeyer's notes linked here.
This is a special case of module normal forms that generalize to higher degree number fields, e.g. see the discussion on Hermite and Smith normal forms in Henri Cohen's $ $ A Course in Computational Number Theory.