In the case of the Civil War each state and territory had rules it initially agreed to abide by when it joined the Union.
As mentioned in the case of the English vs the Irrish perspective was everything: if you fought for the north you were fighting to "preserve the Union" and later to "bring freedom to the slaves". If you fought for the south you were fighting to preserve "state's rights and end northern agression".