Maybe she has some unresolved issues from her past, like her unrequited love for Sasuke that still lingers in the back of her mind. This could make her question her relationship with Naruto and lead to her leaving.
It could also be that she is forced to abandon them due to some external threat. For example, if an enemy targets her family and she believes that leaving them is the only way to keep them safe from harm.