This is the result of anti-gun nutjobs who have repeatedly assaulted the firearms industry. With the legislation allowing victims to sue gun manufacturers for the acts committed by gun-wielding murderers. When we allow the courts to impose draconian punishments on innocent businesses, People lose their jobs and factories go elsewhere.
Moving your manufacturing site to a different country does not preclude you from lawsuits involving the use of your product.