Did China think Trump was bluffing? How Beijing got it wrong