Invaded is strong. They sent troops to support the communist side in the civil war. Cuba's always tried to export communism beyond its borders (sending doctors overseas being a topical example) albeit on a small scale due to their size and economic frailty. At that time, Vietnam had just ended and the major players were tiring of getting involved in foreign wars. Cuba, at their strongest economically, saw their opportunity to make their mark