The move underscores how the war has jumbled the U.S. president's foreign policy agenda and adds another point of tension in the U.S.-China relationship.