Xi jinping and communist party wasn't in charge then.
Mao seized tibet and outer mongolia and Soviet union prevented china from invading mongolia.
And then the invasion of india and the support china provided to the many communist insurgents in south east asia.