Maybe Red Hood believes that Batman's methods are no longer effective. He could think that by killing Batman, he can take over Gotham and impose his own brand of justice, which might be more brutal but in his eyes more efficient. This would be a great plot point in fanfiction to explore different concepts of justice.
One possible motive could be if Sasuke was on a path of destruction that endangered the entire ninja world. Naruto, as the protector of peace, might see killing Sasuke as the only way to stop him. For instance, if Sasuke was about to unleash a powerful and uncontrollable jutsu that would wipe out many innocent lives.
Perhaps Sasuke is possessed by some extremely evil entity. And Kakashi, in an attempt to stop the entity from causing more destruction, decides to kill Sasuke. It could also be that Sasuke discovers some dark secret about Kakashi that Kakashi doesn't want revealed, and in a moment of panic and self - preservation, he kills Sasuke.
In fanfiction, Naruto might kill Konoha if he's under some sort of mind control. Maybe an enemy manages to manipulate his thoughts and turn him against the village. Also, if Naruto experiences a great loss because of Konoha's actions or inactions. Say, if his friends are killed due to Konoha's negligence in protecting them, and he blames the village as a whole. Or if he realizes that Konoha's system is so corrupt that it's causing more harm than good to the world.
Well, it could be that Kakashi is under some sort of dark spell or curse that makes him see Naruto as a threat to the village. In some fanfictions, there might be a situation where the village's safety is at stake and Kakashi believes that sacrificing Naruto is the only way to save everyone. Also, it could be a case of false information. If someone convinces Kakashi that Naruto has turned evil and is about to cause great harm, he might take the drastic step.
One possible motive could be if his brother was somehow a threat to the village. Naruto is very loyal to Konoha, so if his brother was planning to destroy it or harm its people, Naruto might feel compelled to stop him at all costs.
One possible motive could be extreme revenge. After years of being mistreated, locked in a cupboard, and generally being made to feel unwanted, Harry might snap in fanfiction. Another could be a sense of self - preservation if the Dursleys were somehow involved in a plot against Harry's life in the fan - created plot.
One possible motive could be jealousy. Hermione is highly intelligent and often outshines Draco in academics. In a twisted version of a rivalry, Draco's envy could turn into a deadly hatred. Another could be his family's influence. If the Malfoys push him to take extreme actions against Muggle - borns, Hermione would be a prime target.
One possible motive could be jealousy. If Kiba were to gain more recognition in the village than Naruto in the fanfiction world, Naruto's insecurities could drive him to do something drastic like killing Kiba. But this is a huge departure from his usual self.
Differing ideologies during the wizarding war. If James was seen as a threat to Snape's side (even if Snape was on the wrong side, from a moral perspective), Snape could justify killing him. For example, if James was too aggressive in fighting the Death Eaters and Snape thought it would lead to more bloodshed, he might take matters into his own hands to stop James.
One possible motive could be revenge. The Dursleys treated Harry awfully for years, so in fanfiction, he might reach a breaking point. Another could be self - defense if the Dursleys in the fanfiction were to take their abuse to an extreme level.