Tariffs, deportations and a brewing storm over Iran could unsettle ties held together by shared concerns over China.