Nothing justifies it. But there are plenty of reasons that explain it. Abusing someone doesn’t justify them murdering their abuser, but it sure as hell explains it. When I poke a dog I may not feel that it’s legally justified in biting me, but I’m hardly surprised.