The tariffs will apply to goods from China and other nations. Washington has been pressuring Mexico to move away from dealing with China.