It might be that there was some sort of misunderstanding. For example, a rumor spread that Harry was getting too close to one of his female colleagues at work. Ginny, being a fiery character, got mad without really knowing the truth. In fanfic, these kinds of misunderstandings are often used to create drama.
It could be due to jealousy. Perhaps Ginny has been spending a lot of time with another character, and Harry misinterprets their relationship, leading to his anger. In fanfiction, the writers often play with such emotions to create drama.
One possible reason could be that he's worried about Ginny's safety during the pregnancy. He might be overprotective and his concern comes out as anger.
In some fanfictions, Ginny might be mad at Harry because of a misunderstanding. For example, she could misinterpret his actions towards another girl as being unfaithful. Maybe he spends a lot of time with Hermione on a project and Ginny thinks there's something more between them.
One possible reason could be that Harry is too focused on his fight against Voldemort and doesn't want to put Ginny in danger. He might think that being with her would make her a target for his enemies.
Maybe in the fanfic, Harry discovers some differences between him and Ginny that he hadn't noticed before. For example, their future plans might not align. Ginny might want a more settled life at Hogwarts or in the wizarding community, while Harry feels an urge to explore the wider magical world and perhaps even try to improve relations with non - magical communities. These differences could lead to their break - up.
Maybe in the fanfic, Ginny discovers that Harry has some unresolved trauma from his past, like his experiences with Voldemort. His nightmares and mood swings start to affect their relationship. Harry, on the other hand, might feel that Ginny is too overbearing in trying to 'fix' him. This clash of their approaches to dealing with his past could be a reason for the divorce.
Well, it could be that Harry is secretly in love with Ginny in the fanfic. He might be too shy to express his feelings directly, so he just stares at her, trying to understand her better or just enjoying her presence.
One possible reason could be that Harry was away a lot after the war, dealing with the aftermath and his newfound responsibilities. Ginny might have felt neglected. Maybe she expected more time together, but Harry was constantly occupied with things like helping to rebuild Hogwarts or being involved in the Ministry's new initiatives.
Another reason might be miscommunication. Harry has a lot on his plate, and sometimes he might not express himself clearly. He could say something that Ginny misinterprets as hurtful, when in fact he didn't mean it that way at all. For instance, he might make a comment about her Quidditch skills that she takes the wrong way.
One possible reason could be that Hermione might be too overbearing in her studies and constantly nags Harry about his schoolwork in the fanfiction. This could annoy Harry and make him mad.