You're right. No matter what she went possibly went through, it doesn't justify her treatment towards the MC, who hasn't done anything to her. Now whatever it is has led her to having these issues probably will make her attitude understandable, even if it isn't right.