Crying in her sleep?

Lu

Has anyone else’s baby gone through a phase of crying loudly whilst they are asleep? My daughter has been doing it for about a week but last night it went on all night every 20 mins. If this happened to anyone else did you figure out what the matter was? I don’t know if she’s having nightmares or it’s teething x