If the firearm was purchased in a illegal situation then yes
Also, no one should be able to purchase semi-automatic guns from gun stores at all. If a semi-automatic is purchased and used to harm others then the dealers and manufacturers should definitely be sued.