The answer is right in the article...
In Spanish, NAFTA was known as TLCAN, short for "Tratado de Libre Comercio de América del Norte."
The point is, both are AGREEMENTS. Mexican law specifically calls out the difference; it was not an issue with NAFTA but apparently is with USMCA.