Generalized method of moments (GMM) estimation seems to be called generalized method of moments because the standard method of moments (MoM) is a special case, following the following logic.
MoM is solved by setting moment conditions equal to zero.
This can be seen as a minimization problem, where the $\ell_2$ norm of the vector of moment conditions is minimized.
In GMM, we might have more moment conditions than parameters, so just solving the system of equations from MoM is inadequate.
However, because MoM has an equivalent formulation as a minimization problem, we can use this idea and find the moment conditions closest to zero, according to some notion of "close".
I follow the first, third, and fourth steps. However, it is not clear why the MoM calculation can be rephrased as a minimization. Why is that the case?
The second of these steps comes from this video, around the 3:30 mark.