Around this age, children recognize the fear of being alone, in the dark or dim room, that noises are made and they don't know from where, that things and dreams scare them... some children are also more 'sensitive' of other things adults may not notice.
I chose to bedshare with my child(ren) because I felt this was the most secure, loving, comfortable way for all of us to have a good night's sleep. I don't have to worry about "was that ____ crying?" "Did I hear a window open/door knock/etc" and then wonder if my child is safe.
I'm thinking for her comfort, fear level and stress levels - maybe a bed on your floor would be in your CHILD'S best interest. Punishing her for being scared isn't going to help her at all.