Similar questions have been asked a few times recently perhaps I’ll answer this one a bit differently and add some extra bits but perhaps some of these answers will fill you in in the mean time
why did Vietnam invade Cambodia ? were human rights violations a motivation?