I don't know exactly what to tell you but possibly she is really scared. I know that I was about that age and started having nightmares. I slept in my parents room until they got sick of it. I used to get in trouble every night. They finally let me keep a sleeping bag in there and in the middle of the night I would go in there and sleep on the floor in the sleeping bag. Then they got tired of that and thought I should sleep in my own room. I then would go sleep in my brothers room in the middle of the night.
Finally at about 10 or 11 my parents laid down the law and I had to stay in my room. What happened? I would wake up by 1 or 2 in the morning and stay awake until I heard my dad get up for work. He left the house around 5:00 each morning so I still had a couple of hours to sleep until get up for school.
I had severe nightmares. I was terrified. I tried to think good thoughts before bed but they never worked. I remember once trying to think of the ice cream man coming round in his truck (whats happier to a kid than the ice cream truck) but that backfired then I began dreaming that the ice cream man kidnapped me.
So my parents probably should have had me in counseling but that was 30 years ago and nobody really did counseling back then. To this day I have the nightmares. I sleep with a butcher knife on top or my chest of drawers and one in the bathroom. My husband travels weekly so I am home alone with my daughter then. I don't know what makes people have the dreams like that.
I don't know if this is happening with your daughter or if she is just adjusting to the changes in her life these days. But I do know how sad I was and how scared when my parents just got mad at me. I wasn't "trying" to sleep with them and be scared. I couldn't help it. My Mom knows now because we have discussed it and she is so sorry for putting me through all those years of me being terrified at night.
Anyway, I just couldn't let your message pass without me saying something - just in case this is what is going on with your daughter. Hugs to both of you. Hope this phase passes quickly.