Feeling Grief

Young girl died and left a baby, I didn’t know that girl, but when I heard her story, I started crying, I felt grief during a week, thinking about her all the time. What should I think or believe in a such cases,? I don’t want to feel grief about person who I don’t know.