The 2nd amendment doesn’t apply to the states anymore than your State legislator is referred to as Congress in the Federal Constitution rather than the State legislator.
The Federal Employees in black robes decided to rewrite our constitution as to apply their own limitations upon our states, with far more honesty than upon themselves not-surprisingly.
Indeed it was the whole point of the 9th amendment to say that they could not do that. But they decided the 14th amendment empowered them to do whatever the hell they wanted, thus rendering the rest of the document more or less moot.
Federal black robed Employee logic is perhaps the most absurdly self-serving logic you are likely to find in the western hemisphere. Respected perhaps only by those who find it beneficial, EG lawyers, politicians, and other rent seeking individuals & businesses.
Well, you might want to re-read Art 6 paragraph 2 and the preamble to the Bill of Rights.
Our current government may not be running this way, State and Federal, but then again... This isn't the government the Founders laid out in the Constitution either.