S.H.
All of this is developmental based and 'normal.'
Growth-spurt
Her age
Separation Anxiety
ALL these things do occur and all at one time. For a child, that is a lot. Nothing ever occurs, one.at.a.time, in a child.
Many things going on.
Also maybe she is having night-mares.
Or "Night Terrors"... Look this up Online. It sounds like what your daughter may be having.
And maybe teething.
All of this culminates into what is growing-pains for a child.
ALSO, night-time 'fears'... crop up from this age and goes on even when older. It only starts, now. Having 'fears' or night-time fears.... is developmental based too.
It reflects a child's changing development and cognition.
You CANNOT just turn-off, a child's imagination...
For now, this is the way it is.
It will pass.
Other phases will arise.
Not all phases, warrant a scolding or punishing.
Because, it is something involuntary.
When I was that age and older, I would wake up and creep down our LONG dark scary hallway... just to go to my parent's room. I would squeeze in between them and they let me. I grew out of it.
Kids do that. It is childhood.
I merely missed my parents and would get so scared in my room by myself. My parents never argued or scolded about it. How they handled it and loved me... is one of my FONDEST memories I have of them as a child. I cherished that.
A child will outgrow it.
This is childhood.
One day, your child will not even need you nor want to be near you.
all the best,
Susan