They can be very up and down at 10. Hormone surges combined with friendship problems, peer pressure, increased school work, worrying about leaving Primary, pushing boundaries etc. It's not the easiest time.
Love bombing can help. Make lots of plans so they have things to look forward too. Have some spontaneous fun - sometimes you can distract them before they descend into a full on mood.
Coincidentally I had a similar conversation today with a mum of two girls. One is princess perfect, can do no wrong sweetness and light and the other sounds very like your grumpy daughter. Mum said she is aware princess perfect is a thorn in the side of grumps, and that their attitude to grumps and how they behave towards her is completely different to PP which is bound to leading to resentment, sulking and antisocial behaviour etc. Have you tried setting aside some one to one time? Really getting to know her and maybe you'd find a reason for her behaviour. A child who acts this way is not a happy child, I'd be trying very hard to find out way and to show her that even inspite of her prickly ways she's very much loved and adored.
It's also a very difficult age where they become aware of others around them, their shape, hair, clothes, media pressures and popularity. Praise is a wonderful thing, kids soak it up like a sponge. I remember when my dd was 11, she hated everything about herself, curly hair, boobs, chubby figure, even her name. With praise and patience it will pass. Lots of compliments! Invite her friends out and try and keep her as socially active as she can. With school and hormones, she will be heading for some big changes
This is the frustrating thing. If anything we give more time and attention to our struggling DC. We are always analysing if our second DC is missing out but because they are so happy and tolerant we don't change our ways. This seems crazy that we are almost rewarding negative behaviour