Mexico's emergence followed fractious U.S. relations with China, which had moved past Canada to claim the top trading spot in 2014. The dynamic changed in 2018 when the U.S. imposed tariffs on China’s goods and with subsequent pandemic-era supply-chain disruptions that altered international trade and investment flows worldwide.