Well, perhaps in that fanfiction, there was a prophecy that was misinterpreted. Harry thought Snape was the key to a great evil about to befall the wizarding world. Also, it could be that someone Harry deeply cared about was seemingly killed by Snape's actions (even if it was a false perception), and his anger led him to this extreme.
One possible reason could be extreme self - sacrifice. Maybe he believes that by stabbing himself, he can save his friends or defeat Voldemort in a very unique way. For example, if there is a dark magic spell that can only be broken by his own life force.
Another reason could be a build - up of years of pent - up anger and frustration. Snape has been harsh on Harry throughout his years at Hogwarts. Harry has had to endure Snape's unfair treatment, and all of that negative emotion could explode in a moment of extreme stress or danger, leading him to stab Snape.
One possible reason could be copyright infringement. If the fanfiction uses too much of the original 'Harry Potter' material without proper authorization, J.K. Rowling (or those in charge of the franchise) might take legal action. Another reason could be if the fanfiction misrepresents the characters in a way that goes against the intended spirit of the original work.
Maybe Harry Potter is tired of the unrealistic portrayals of Snape in fanfiction. Often fanfictions can exaggerate characters' traits, and Harry, who knew Snape in real life, might find these interpretations too far - fetched.
One possible reason could be that Snape suspects Harry of something dangerous or against the school rules. Maybe he thinks Harry is involved in some secret Dark Arts activities and ties him up to prevent him from causing further trouble or escaping while he investigates.
Perhaps in this fanfiction, Snape shows a side of himself that is completely different from what Harry has known. He might be more open and honest with Harry, sharing secrets that make Harry believe he can be trusted. Like Snape might disclose some long - held information about Harry's parents that only he knew, which makes Harry think Snape has been on his side all along.
The Slytherin house would probably be outraged. Snape is one of their own, in a sense. They would demand justice for Snape and might even use this incident to fuel their long - standing rivalry with Gryffindor. There would be a lot of tension and conflict within the Hogwarts community as a result of this act.
One possible reason could be the overwhelming burden of his destiny. Harry has faced so many challenges and losses throughout his life. The death of his parents, the constant threat of Voldemort, and the weight of saving the wizarding world might have made him feel so tired and hopeless that he contemplates taking his own life.
Perhaps Harry has a hunch that Snape is involved in some secret project or fight against the dark forces that requires basilisk parts. Harry, being the hero he is, decides to provide Snape with the parts to aid in this unspoken cause. It could also be a sign of Harry's growing maturity and his ability to see beyond their past differences.
It could be that in the fanfiction, some of the relationships are developed in a way that he finds interesting. For example, the relationship between him and Harry might be reimagined in a more positive or complex light, which makes him see new possibilities and thus like it.