It is called the second war for American independence because in this war Americans fought for their rights. They fought for the rights of neutral trade. So therefore it was their second time fighting for independence.
The War of 1812 is sometimes called the second war for independence. The Americans fought for their rights; for the rights to neutral trade, which British government suspended because of the continental system of the French emperor Napoleon.