Officials of the Chinese government are not elected officials. They are not accountable to a constituency to get re-elected. They can make decisions that screw their own people with only the remote fear of consequences. If they decide to radically alter their relationship with the US they might make an emotional decision vs. a logical decision. They have done it before to show their people who is the boss in Asia.