Walking the tightrope between the US and China