When you're done hyperventilating, try to read the following with some comprehension.
China is currently running on a lot more private debt than we are. They've spent a lot of money on artificially propping up their middle class with personal loans. This has resulted in an increase of standard of living for much of their urban population, but it isn't sustainable. In addition, their government essentially runs most of their industries. The central planning approach involves a lot of waste. To maintain construction growth, for example, they've built several ghost cities. While there are plenty of American companies that still do business with them, the Chinese economy is a house of cards.
It will crash eventually, and the upper management of China probably realizes this. This is part of why they've done so much to try and establish various raw material supply chains in Africa and South America. If they can maintain a decent supply chain with those areas, that will postpone the crash (and will prevent massive starvation), but this approach has its own problems. In order to construct the infrastructures needed for these supply chains, they've lent out a ton of money to various African countries and Latin American ones. The prospect of getting this money back is slim. The gains from the raw materials will offset the money spent somewhat, but it isn't likely to cover the overall expenses anytime soon. So the related debt puts pressure on their system, in addition to the private debt I mentioned above.
The trade war has exacerbated their situation somewhat, because the tariffs reduce our consumption of their products while encouraging our companies to shift production to places like India, Pakistan, or Indonesia. No trade war can be done without some harm to one's own country, but China has felt the pain more than us. This is shown by recent events.
https://time.com/5749668/us-china-trade-deal/