but relations between china and vietnam later deteriorated over vietnam 's persecution of ethnic chinese , territorial conflicts , vietnam 's close alliance with the soviet union and vietnam 's invasion of cambodia in 1978 .