Pls help

Savanna

My 5mnth old daughter bearly started getting scared in her sleep n she wakes up all the time now. She has never done this before! But like last week my boyfriends mom was holding my daughter n when I was going to kiss my daughter on her forehead..their dog jumped on her face when she was sleeping. N she woke up crying n screaming . Can this be the cause of her always waking up from her sleep n when she naps