This exactly. But the country never figured out how to deal with one state’s laws conflicting with another state’s laws (see the Fugitive Slave Act for example). The lack of resolution around conflict between the states (which remained unresolved even after a civil war was fought over it) is partly why the federal government began to grow as it took on the role of enforcing laws (like desegregation) that certain states would not.