It could be that they were lured away by an outside force. They return when Naruto discovers their whereabouts and rescues them. For instance, a mysterious group might have tricked them into leaving with false promises. Naruto, through his adventures and growth, figures out where they are and manages to bring them back.
Maybe they left because of some political issues in the village. The return could be due to a change in the village's leadership or attitude. Suppose the village elders once had a problem with Naruto's father or some family secrets. So they made the family leave. But later, a new understanding or new leadership emerges, and they are welcomed back.
It might be due to a self - sacrificing decision on Harry's part. He could believe that by leaving, he would protect the Weasleys from the dark forces that are constantly after him. Since he has so many enemies, he might think that as long as he is around the Weasleys, they are in danger.
During their absence, Naruto may have developed a sense of longing and hope. Longing for his family made him cherish the idea of family more. And the hope of their return kept him going. He would constantly think about their reunion, which influenced his actions and decisions. He might have been more cautious in dangerous situations, thinking about how his family would feel if he got hurt.
One reason could be to seek a new life away from the political drama in Konoha. Naruto has always been in the spotlight and has faced many political challenges. Hinata, being by his side, might support his decision to leave for a quieter place. Maybe they want to raise their family in a more peaceful environment, away from the constant threat of enemies targeting Konoha.
One possible reason could be a difference in ideology. Maybe Peter Parker feels that Stark's methods are too extreme or not in line with his own moral compass. For example, Stark might be involved in some projects that Peter doesn't agree with, such as using certain unethical technologies in the pursuit of justice.
One possible reason could be ideological differences. Maybe she discovers some practices within the Order that go against her moral compass. For example, if the Order starts to use unethical magic in their fight against the dark forces, Hermione, with her strong sense of right and wrong, might not be able to tolerate it and decide to leave.
In a more general sense, if we are to analyze such a disturbing story, it could be that the wife was influenced by some extremely negative peer groups or was in a very bad mental state. But again, this kind of behavior is unacceptable in society.
One possible reason could be a misunderstanding with his friends in Gryffindor. Maybe there was a big argument over something like a Quidditch match strategy that made him feel alienated.
In some fanfics, it could be related to a prophecy. His family might believe that Naruto is going to bring about a great disaster according to a misinterpreted prophecy. So, they turn on him in an attempt to prevent the prophecy from coming true, even though they are wrong in their understanding.
One possible reason could be some kind of dark magic or jutsu that has affected his family's memories. Maybe an enemy cast a spell specifically to make his family forget about him to weaken him.
Fanfic writers often draw inspiration from the relationships between characters. Captain Marvel doesn't have as many pre - established and well - loved relationships within the superhero universe as some other characters. For example, the bromance between Thor and Hulk or the complex relationship between Batman and Joker in DC. Without these kinds of engaging relationships to build on, it might be less appealing for writers to include her in their fanfics.