China and the U.S. had engaged in a trade war in 2018 when Trump raised tariffs on Chinese goods and China responded.