It could also be that the fanfic portrays his parents as having been neglectful in some way. For instance, they were so focused on the fight against Voldemort that they didn't leave behind enough emotional support or guidance for Harry in the form of memories or letters. This lack of connection could lead to Harry's hatred.
One possible reason could be that in the fanfic, the author might twist the story to make it seem like his parents' actions had unforeseen consequences that affected Harry negatively. For example, their fight against Voldemort led to Harry being an orphan and having to bear a great burden from a young age.
One possible reason could be that he might feel abandoned. Growing up without them, he could resent the fact that they left him an orphan. He might think that if they were really so great, they would have found a way to survive and be there for him.
One possible reason could be a misunderstanding. Maybe he discovers some secrets about his parents that he misinterprets. For example, if he finds out they were involved in some dangerous or morally ambiguous activities in their youth that he doesn't fully understand at first.
One possible reason could be that he discovers some long - hidden family secrets that make him question his parents' actions or decisions. Maybe he finds out about some dark deeds in their past that he can't overlook.
One possible reason could be the way the Dursleys treated him. They were cruel, made him live in a cupboard, and constantly belittled him. This kind of mistreatment over the years could easily lead to hatred. Another aspect could be the lack of connection to his wizarding family that he was not aware of for a long time. He might feel angry at his parents for leaving him in such a situation without any real protection from the Dursleys.
One possible reason could be some past misdeeds by the parents. Maybe they were neglectful or made decisions that seriously affected Ciel's life in a negative way in the context of the fanfic.
One possible reason could be that in the fanfiction, Harry might have discovered some dark secrets about his parents that made him feel betrayed. For example, if he found out they had some hidden and unethical magical experiments in their past.
Perhaps he discovers some secrets about his parents that he doesn't like. For example, he might find out that they were involved in some dangerous or unethical magic before. This new knowledge could make him angry at them for putting themselves and their family in jeopardy.
Maybe they were forced into it by some dark magic or a powerful dark wizard. They could have been blackmailed into betraying Harry to save their own lives or the lives of others they cared about.
One possible reason could be that in the fanfic, his parents might be depicted as having made some big mistakes in the past that directly affected Harry in a negative way. For example, they could have made a deal with a dark force that put Harry in danger later on.
He could hate them because he felt they were absent during his difficult childhood. Naruto faced a lot of loneliness and bullying, and if he thought his parents could have prevented it but didn't, that would breed hatred.