When analyzing a character’s unhappiness, focus on the external factors, like family or social position, and how they shape the character’s perception of their life.
Matilda is discontented due to her perceived entrapment in a boring life. She desires a more thrilling and luxurious existence, but her situation, particularly her unsupportive family, leaves her feeling unfulfilled.