What were the reasons given for fighting between the United States and Vietnam?

The war was between North Vietnam and South Vietnam. The US was fighting with the Republic of South Vietnam to prevent an invasion by the Communist North Vietnam.