So why did the North fight to “preserve the Union”?
Because if the South could leave, so could any other disaffected bit, and the whole thing was ripe to fall apart across any number of disputes. The loose bits would have been open to annexation or otherwise domination by foreign powers (Britain, mainly).
That was the contemporary argument, or one of them.