The motivations behind each country's involvement in Vietnam were to maintain colonial control over Indochina for France, to contain communism during the Cold War for America, and to ensure a friendly neighbor on its southern border for China.