Exactly. One of the main reasons we don’t see a lot of mass shootings in other first-world countries isn’t that getting one’s hands on such weapons is impossible, it’s that it’s non-trivial. The kind of violent psychos who shoot up schools and movie theaters and nightclubs usually don’t have the resources, skill sets or dedication to build their own weapons, or even seek them out on the black market.
Same goes for bombs. A skilled and dedicated mass-murderer could make their own, but few actually do. If C-4 and dynamite were sold over the counter we’d see a lot more people getting killed with them.