China has been preparing for this clash for years, while the US has not.