I would have to say it sounds like asynchron. development. Sometimes it's hard to remember the child is really only his or her chronological age when they are capable of sich higher thinking. We often expect them to act as smart as they are but forget that 8 year old still can melt down like the best of them but act completely grown up and mature in every other regard.

Sometimes being around children that are the same age but not the same intellect can often allow the child to act more along the lines of their chronol. age.

Not sure how old your child is but hopefully it helps shed some light that it's completely normal and just allow her to be her true at at times instead of her mental age?!