They killed to eliminate witnesses, thinking they could escape legal punishment.
Tips
usage
灭迹 often pairs with 杀人 in the fixed phrase 杀人灭迹 (shārén mièjì) — to kill in order to destroy evidence/silence witnesses. This is a commonly used four-character phrase in crime fiction and legal language.