The invasion was in response to Confederate attacks on Union forts - starting with Fort Sumter.
Saying the civil war is not about slavery because the invasion was about responding to Confederate belligerence is like saying that someone who died with Covid-19 actually died from heart failure. You might be technically correct (most people's hearts fail when they die), but it's at best pedantic and at worst disingenuous.