In the fanfiction, her own ambition could play a role. She might see an opportunity to gain power or status by aligning herself with someone other than Harry. Maybe there is a powerful wizard or witch who has promised her great things in exchange for information or actions against Harry. Also, misunderstandings can be a big factor. A miscommunication or false accusation could make her believe that Harry has wronged her in some way, leading to her ultimate betrayal.
She might be forced into it. There could be threats against her family or friends. In the world of Harry Potter, the safety of loved ones is often a powerful motivator. If a dark force threatened to harm her family, she might feel she has no choice but to betray Harry. Or, it could be that she has discovered some so - called 'dark secret' about Harry, like a false belief that he is on the verge of turning to the dark side, and she betrays him in an attempt to 'save' the wizarding world from what she thinks is a future threat.
One possible reason could be that she is under some sort of dark magic influence. In the wizarding world, dark magic can manipulate people's minds and actions. Maybe she was imperiused by a Death Eater or some other dark wizard who wanted to get to Harry through her. Another reason could be that she has been hiding a deep - seated jealousy. Perhaps she is jealous of Harry's fame and the attention he gets from everyone, including other girls, which could lead to her betraying him out of spite.
Harry would likely be deeply hurt. He has been through so much already, and this betrayal would be like another stab in the back. He might initially go into a state of shock, not believing that someone he loved could do this to him. Then, he would probably become very angry. His trust would be shattered, and he might lash out, not just at her, but also at those around him who he feels might have known or been involved in some way.
In some fanfictions, it could be due to a long - hidden family secret. His parents might have had a past that they were ashamed of or a debt they had to pay, and unfortunately, Harry became a part of that repayment which led to the perception of betrayal. They could have made a deal with a dark force before Harry was born, not realizing the full implications it would have on their son.
One possible reason could be that she was forced to betray him. Maybe an enemy got to her family and threatened her to turn on Naruto. For example, in the Naruto universe, there are many powerful villains who would stoop to such tactics.
One reason could be jealousy. Maybe Naruto's success as a ninja makes his girlfriend jealous and she betrays him out of spite. Another reason might be that she is forced to by an enemy. For example, if she is blackmailed into betraying Naruto to save her family.
Another possible betrayer could be Dumbledore in some darker fanfictions. He might have a hidden agenda all along. He could be using Harry as a pawn in a much larger and more sinister game. And when Harry starts to figure things out and goes against Dumbledore's plans, Dumbledore betrays him to keep his own plans on track.
In some fanfics, it might be for the sake of a more complex plot. The writer wants to create drama and conflict. So, Ginny could be made to betray Harry to add a new layer of struggle to Harry's life. It could also be related to her family loyalty. If the Weasley family was somehow forced into a difficult situation where they had to choose between Harry and their own safety, Ginny might be written to make a choice that seems like a betrayal to Harry.
Love could also play a role. Maybe one of the Weasleys falls in love with someone who has a vendetta against Harry. To please their love interest, they could end up betraying Harry. It's a more emotional and complex reason compared to the others, but it can add depth to the fanfiction story.
One possible reason could be a misunderstanding. Maybe Ginny is under the influence of a powerful dark magic that makes her act against Harry without her full control. For example, a powerful mind - controlling spell could be involved.
One possible scenario could be that Naruto's girlfriend betrays him because she is jealous of his godlike powers. Maybe she feels overshadowed and in a moment of weakness, she aligns herself with Naruto's enemies. It could lead to a great internal conflict for Naruto, having to face not only external threats but also the pain of betrayal from someone he loved.
It could be a Muggle - born witch who he meets outside of Hogwarts during the summer holidays. She's not part of the typical wizarding society he's used to, so they keep it a secret as it's an unusual situation for a wizard like Harry to be involved with a Muggle - born in such a way.