She was spoiled as a kid. They've already said that they're responsible for her behaviour now. Both the parents and Cedric doted on her without correcting bad behaviourand as a result, she's the sour bi*** she is now.
I don't buy this trope, as in the "the parents are perfect holy beings, just their child is like ...