The war was driven by the commercial and imperial rivalry between Britain and France, and by the antagonism between Prussia allied to Britain and Austria allied to France In Europe, Britain sent troops to help its ally, Prussia, which was surrounded by its enemies.
The south— the north (mostly) opposed slavery, whereas the south (mostly) wanted to keep it around. In fact, slavery was one of the main reasons the American Civil War was fought in the first place.