Theorem $ $ An ideal $I\neq 0\,$ in a Euclidean domain (i.e. having division with smaller remainder) is generated by any element $\,0\neq \color{0a0}{g\in I}\,$ with min Euclidean size (= least polynomial degree in OP).
Proof $\ $ The key idea is ideals are closed under remainder (mod), so a minimal size $\,\color{#0a0}{g\in I}\,$ must $
\rm\color{#c00}{divide}$ every $\,f\in I\,$ (else the remainder $\,0\neq f\bmod g = f-q\,g\in I\,$ and is smaller size than $\,g,\,$ contra minimality of $\,g).\,$ Thus $\,\color{#c00}{(g)\supseteq I}\color{#0a0}{\supseteq (g)}\,$ so $\,I = (g).\ \ \small\bf QED$
The descent in this proof can be interpreted constructively as computing a generator of $\,I\,$ by computing the gcd of its elements (by taking repeated remainders as in the Euclidean algorithm). Thus "minimal" is with respect to the size measure used for remainders in (Euclidean) division with smaller remainder.
Remark $ $ The minimal polynomial of an element $\:\!\alpha\:\!$ algebraic over a field $F$ is indeed a special case, since it is the (monic) minimal degree element of the ideal of polynomials $\,f\in F[x]\,$ with $\,f(\alpha) = 0$. As above, it can be viewed as the gcd of all such polynomials having $\alpha$ as a root, and the gcd yields $\rm\color{#c00}{descent\!:}$ $\,f_1(\alpha)=0=f_2(\alpha)\,\Rightarrow\, g(\alpha) = 0,\,$ $\ g := \gcd(f_1,f_2) = af+bg,\,$ and the gcd will have $\rm\color{#c00}{smaller}$ degree than $f_1,f_2\,$ if they are incomparable (i.e. if neither divides the other). If we disassemble the gcds into assembly language = iterated remainders (mods) then this is the same descent by remainder that is used in the above proof that $I$ is principal.
Generalization the idea extends to PIDs: (Dedekind-Hasse criterion)
a domain $\,D\,$ is a PID iff for $\:0\neq a, b \in D,\:$
either $\:a\:|\:b\:$ or some $D$-linear combination $\:ad+bc\:$ is "smaller" than $\,a.\,$ In a PID we can choose as a "size" measure the number of prime factors (counting multiplicity).