The American colonies prepared for war because they didn't want to be ruled by Parliament. They wanted to govern themselves.
During the civil war the French aided the Americans secretly by transporting gunpowder and money to help with the war, until they knew the Americans had good control, they showed themselves and battled the English.