There were many reasons why America got involved in the Vietnam War. One of the main and most important factor is that they wanted to put an end to communism. US was also defending France as both countries are Imerialists.
U.S feared that communism was spreading rapidly and wanted to contain it. So they launched a plan called 'Containment' which meant to stop the spread of Communism.
Hope it helped!,