Why does my friend think if a dog approaches her. it means it want to bite her or attack? Now everytime I see a dog, I get scare?

Today a dog was running toward me from other side, a stranger while I was walking in the park

Why does my friend think if a dog approaches her. it means it want to bite her or attack? Now everytime I see a dog, I get scare?
Post Opinion