The power to repress insurrection and rebellion is explicitly spelled out as a federal power. No matter what the pretense is for insurrection or the “legal” forms justifying it.
But this was not an insurrection nor a rebellion. It was sovereign states exercising their right to secede. Nowhere in the constitution is the federal government granted the power to forcibly hold a state in that no longer consents to be governed by it.