China was not on friendly terms with the north. They invaded Vietnam shortly after the Americans left, in response to Vietnam's actions in Cambodia.
https://en.wikipedia.org/wiki/Sino-Vietnamese_War
https://en.wikipedia.org/wiki/Cambodian%E2%80%93Vietnamese_W...