I agree with Sanne's Point #2.
I had some issues with Madison and getting in trouble, and I sat her down, we talked, and we worked out a way of spending more time together, just me and her. She apparently missed that, and she didn't know how to express it, so she bottled it up and her release valve happened to be at school.

Things with her aren't perfect now (she's still getting in trouble for piddly things like talking too much, but that's expected with her genetics).

So yeah, sit down with her, just you and her (or Daddy and her, if he's been working/out of town a lot). Talk. Listen.