Well, perhaps in the fanfiction, Harry has a vision of a different future for himself that doesn't involve traditional Hogwarts education. He might have seen a path where he can make a greater impact on the wizarding world without the constraints of school. It could also be that he's being influenced by a new character in the fanfiction, someone who convinces him that there are better ways to develop his magic and knowledge outside of Hogwarts. This new influence could be from a different magical culture or a rogue wizard with unique ideas.
One possible reason could be that he felt he had learned enough magic to face his enemies on his own. He might have thought that the traditional Hogwarts education was too slow or not relevant to his specific needs, like dealing with Voldemort. Another reason could be some sort of conflict with the Hogwarts faculty. Maybe he didn't agree with their methods or decisions and decided he was better off without their rules.
One reason could be that he was under a dark spell cast by a new enemy in the fanfiction. Maybe some dark wizard or witch sent a spell his way before he boarded the train, and it took effect during the journey.
One reason could be that he doesn't like others taking creative liberties with his story. He might feel that it's his story and only the original version should be the 'true' one.
In some fanfictions, there could be a change in the Hogwarts admission policy. Maybe they found some supposed flaw in Harry's magical abilities or his background that led to his admission being revoked at the last minute, so he didn't arrive at Hogwarts. Also, it's possible that some other powerful magic was at work. A powerful wizard or witch could have cast a spell on Harry that made him forget about Hogwarts or made it so that he couldn't physically reach the school.
Harry's relationships might change a great deal. Some of his Hogwarts friends might support his decision, while others could be disappointed or even cut ties with him. On the other hand, he could form new alliances with outcasts or those who oppose the traditional Hogwarts system. He might also face more challenges as he no longer has the protection of Hogwarts. He has to be more careful about dark wizards who might target him more easily now that he's on his own.
One reason could be that he has fallen in love with someone outside of Hogwarts and wants to stay with that person instead. He may feel that Hogwarts will keep him away from his beloved.
One reason could be that it doesn't stay true to the original lore. For example, if the fanfiction changes the fundamental rules of magic in Hogwarts that were established in the original series. Another reason might be that the characters' personalities are distorted. Harry Potter is known for his courage and self - sacrifice, and if the fanfiction turns him into a cowardly or self - centered character, it could be rejected.
Perhaps he has seen a dark future for Hogwarts in a vision. He might think that by staying away, he can avoid that future or protect himself from some unknown danger. In fanfiction, there are often new and creative plotlines like this.
In fanfiction, the author might want to explore a different side of Harry. He could be berating Hogwarts education because he realizes that some students were left behind. There were students like Neville who didn't really shine until later, and Harry might think that the school system should have been more inclusive and better at nurturing all types of magic abilities from the start.
Maybe he leaves because of a conflict with the Hogwarts staff. If the new headmaster or some teachers start implementing rules that Harry believes are wrong or unfair, like restrictions on defensive magic classes, he might decide to leave in protest.