Found this interesting. There is a law that protects firearms manufacturers from being sued when their products are used in the commission of crime, but not if their products are found to be defective and such.

"In the years before passage of the act, victims of firearms violence in the United States had successfully sued manufacturers and dealers for negligence on the grounds that they should have foreseen that their products would be diverted to criminal use"

https://en.wikipedia.org/wiki/Protection_of_Lawful_Commerce_in_Arms_Act