Mexico's government on Tuesday unexpectedly changed two of its top officials responsible for U.S. relations, citing concerns about an increasingly anti-Mexican climate across the border.
Carlos Sada, previously the consul in Los Angeles, was named ambassador to the United States while Paulo Carreño, one of President Enrique Peña Nieto's communications chiefs, was appointed the deputy foreign minister for North America.
The new ambassador must still be approved by the Senate.
"We have been warning that our citizens have begun to feel a more hostile climate," Foreign Minister Claudia Ruiz Massieu told local radio after the announcement.
"This (anti-Mexican) rhetoric has made it clear that we have to act in a different way so that this tendency being generated doesn't damage the bilateral relationship," she added.
Mexican government officials have expressed concern about the rise of Republican presidential front-runner Donald Trump due to his repeated verbal attacks on Mexico, and his insistence that Mexico should be made to pay for a border wall.
Trump on Tuesday threatened to block remittances from undocumented Mexican migrants if elected president unless the country pays billions for his planned wall.
Trump also called Ford's announcement that it would build more cars in Mexico "an absolute disgrace."