A loose philosophical way of thinking about this...
When you form $R[x]$ you are taking the ground ring $R$ and appending an extra element $x$ that behaves as freely as possible while still giving a ring: you can take positive powers, scale, add, and multiply in the usual ways, but you introduce no other relations.
When you then form $R[x]/(f)$ you are doing the first construction, but then forcing $f(x)=0$, which causes additional restrictions on $x$ to kick in, making the resulting ring smaller (or not any bigger). You should think this way: $\mathbb{Z}[x]/(x-3)$ takes $\mathbb{Z}$, appends a mystery symbol $x$, but then declares $x-3=0$, or just $x=3$. Thus you have appended something that was already there, so the resulting ring should be the same as $\mathbb{Z}$ itself:
$$
\mathbb{Z}[x]/(x-3) \cong \mathbb{Z}.
$$
This is exactly what @D_S claims in their answer.
The same philosophy shows why $\mathbb{R}[x]/(x^2+1)$ creates the complex numbers. You take the real field $\mathbb{R}$, append a new symbol $x$, but then force $x$ to act like $x^2+1=0$, or $x^2=-1$. Thus, we really took $\mathbb{R}$ and appended $x=i$ (or $x=\pm i$, but that's overkill) and made the "smallest" ring possible out of this, which is $\mathbb{C}$.
(These aren't rigorous arguments: I am only trying to guide intuition in thinking about these things, something vastly undersold in teaching.)