US didn't want a superpower entering the war-- China entering or aiding the war would have tipped the balance of power.
China's interest in Vietnam could have tipped the power balance in the war just as it had in the Korean War. Chinese money, weapons, or at worst, military aide could have led to a larger scale war. China and the USSR were allies and interested from a Communist country could have led to another world war or a more difficult regional war.