The responses escalated the trade war that has rattled stock markets and international relations. The Trump administration’s latest tariffs also targeted Mexico.