One possible reason could be that Snape sees Hermione's value as a brilliant student. He might recognize her potential and not want it to be wasted just because of her dad's actions or situation. Maybe he has a sense of justice deep down, despite his often cold exterior.
Perhaps Snape has some sort of a hidden connection to Hermione's mother. Since Hermione is her daughter, he feels obliged to protect her. In the wizarding world, there could be old debts or unspoken loyalties that drive him to save Hermione from her dad.
One reason could be Snape's sense of justice. Despite his often - cold exterior, he might not tolerate Draco's bullying behavior towards Hermione.
One possible reason could be a misunderstanding. Maybe Hermione thought Snape was involved in some dark plot against her friends. In the wizarding world, there are often secrets and deceptions, and if she got some false information, it could lead her to take such drastic action.
Well, perhaps Snape uses his position as a teacher to step in. He could have been observing the situation secretly and when Draco was about to do something harmful to Hermione, Snape intervened with a firm command or some magic spell to stop Draco in his tracks.
Well, it could be that Snape has been secretly observing Ron's erratic behavior towards Hermione. When the situation gets out of hand, he intervenes. He might use his position as a teacher to discipline Ron and in the process, saves Hermione. Snape is a complex character with a lot of power and knowledge, so he could use various means like his occlumency skills to sense the danger Hermione is in and act accordingly.
Hermione could be hiding her pregnancy from Snape because she's not sure of his feelings towards her. There may be an ambiguous relationship between them. She might be in love with him, but not sure if he feels the same. And she doesn't want to burden him or make things awkward between them. Or perhaps she suspects that Snape might be involved in something dangerous, and she doesn't want her unborn child to be dragged into it.
He could use his position of authority. Snape might confront the abuser directly. Since he's a teacher, he has the power to intimidate and put a stop to any immediate harm. He could also give Hermione a safe place to stay, like his own quarters (if it's within the rules of the fanfiction world).
Well, one possible scenario could be that in the fanfiction world, there are dark wizards or forces targeting Hermione for her knowledge or power. Snape, with his skills and knowledge of the dark arts, could use his magic to shield her from attacks. For example, he could set up protective spells around her when she is studying in the library or traveling around Hogwarts.
One reason could be Snape's sense of justice. Despite his often - cold exterior, he may not tolerate Ron's unjust behavior towards Hermione. Another reason might be that he sees something in Hermione that he values, like her intelligence or her thirst for knowledge, and doesn't want it to be extinguished by Ron's actions.
One possible reason could be that Snape has shown unexpected kindness to Hermione in the fanfiction. Maybe he has protected her from some danger secretly, which makes her feel she can rely on him and thus feel safe.
One reason could be Snape's knowledge. Hermione, being a knowledge - seeker herself, might feel safe knowing that Snape has a vast understanding of magic, especially the darker aspects. So, she believes he can keep her safe from any threats related to that knowledge.