If your company receives income from Mexico, or pays suppliers, partners or a parent company there, both governments may want to tax the same money: one because the income was earned there, the other because you are a resident. That is double taxation.
The tax treaty between Mexico and the United States defines which country taxes each type of income, reduces withholding on dividends, interest and royalties, and lets you credit in one country the tax already paid in the other. But it does not apply automatically: you must prove your tax residency and document each transaction.