It's often said that "guns don't kill people; people kill people."
That's true. It's why raw metal isn't required to undergo a background check before it can be morphed into a gun. And why guns can buy all the guns they want.
People, on the other hand, sometimes need to have limits on what firearms they can procure, and on where and when they can use them. This is because some people are mentally ill, felons and/or otherwise unstable.
Gun laws are for people. Because people kill people.