I didn't say they are countries, I said they are like countries. Finding all the ways they are not like countries to prove they aren't countries just ignores all of the similarities.
States are like countries in the same way that I’m like a horse. We’re both mammals with 4 limbs, but that’s about it.
Plenty of countries have states with distinct laws and cultures. Canada, Brazil, England, Italy, etc. That doesn’t mean those states are countries.
Sounds like you’re letting US exceptionalism cloud your judgement.
If your states were like real countries, they could just ban guns, set up border controls, and turn away anyone bringing guns in. But they can’t, so they’re not countries.