Pre teen.. It is kicking in..
Speak with her and remind her even though she is becoming more mature, she is still a child and needs to check her attitude.
Yes, she has new friends and some independence, but that means she needs to be in control of herself..
She can either be respectful and mature and be treated the same. Or she can be disrespectful and childish and be treated that way.
She is going to be invited to friends homes, to events, etc.. Share this with her.. but if she cannot treat all of you with respect, how can you trust her to treat others with respect?
One other thing.. If you all invite classmates over and your daughter is not respectful, you can remind her you will send her friends home and you will be honest with them about the reason.
I remember our daughter had a classmate that was disrespectful to her mother.. Our daughter was appalled. She had the girl go and apologize.
She told me she had lost respect for that girl.. I told her to speak with the girl and give her another chance. The mother called me and said she appreciated our daughters help. I reminded the mother she needed to demand respect from her daughter or her daughter was going to walk all over her.
Our daughter had her moments. I would just look at her (with that look) and she knew she had stepped over the line. I just told her I knew she "was frustrated, but lashing out at me, was not going to help her cause.". Or I would tell her, maybe she "needed some quiet time away from me for awhile.."
Stay strong. She is in a knew situation and trying to protect herself. It takes a lot of effort to invent yourself. Remind her she is great just the way she has always been and people will like her she does not need to become someone else.