You cannot stop cartels from dealing drugs, despite massive efforts, what could you do to prevent them from dealing weapons?
Furthemore, while cartels are certainly important, the majority of gun-related homicides within the US are caused by small-time criminals, within a social fabric that facilites small-time illegal gun sales.