> Or you end up with the highest rate of school amok per capita globally
The US has a high rate of firearms fatalities. Around two thirds of these are suicides. Around zero thirds of them are school shootings.
School shootings are sufficiently rare that when they happen, they make national news. Which is catastrophic, because studies have shown that media coverage of school shootings induces school shootings. It's attention-seeking behavior by the criminally insane, so if you show them that it generates attention, it increases their attraction to the act. Most US media outlets know this and do it anyway, because it generates a lot of hits. This is the primary reason why the US has relatively more than other countries, including other countries with a high rate of firearms ownership.
> Licenses make just as much sense as they do for cars.
It doesn't work for this. If you have a driver's license and know it will be taken away if you drive drunk, that's an effective deterrent. School shooters tend to be young people with no prior criminal history. They would pass a background check. Having a license to take away after the fact is meaningless when after they fact they're going to prison forever.
In theory where this does something is for criminal gangs, where you say you want to deny people with a criminal history a firearm. Criminal gangs actually are a significant fraction of firearms fatalities. But here's how that works out: People with a criminal history who go back to a life of crime just get a gun through their criminal organization the same way they get the illegal drugs they're dealing.
Meanwhile, people with a criminal history who reform themselves will commonly also carry a gun, for self-defense against criminals from their past life. Laws against this don't deter it when the alternative is getting murdered. Then this otherwise reformed criminal gets caught in possession of a firearm yet not committing any other crime, so they go back to prison and get another chance to get caught up with criminals. A large number of black people are currently in prison for no other crime than "felon in possession of a firearm," and were in possession of it for no other reason than self-defense. Or weren't in possession of it at all but were near enough to one owned by someone else for a bad cop to opportunistically file the charge.
Banning possession of a technology is weak. If you wrongfully shoot someone, you should go to prison. If you have a gun and don't harm anyone with it, no one should have a problem with that.