My dd is a court videographer and has taped truancy hearings. The vast majority of them are due to the older kids being forced to stay home and care for the younger ones while a single parent is at work OR a parent who simply does not value education and thinks it's just fine for the kid to stay home and play videogames all day.
That said, there are exceptions:
No.. my parents did a good job parenting me. They taught me right from wrong. They had their flaws, sure, and there were a lot of things that I disagree with, but they never, in any way, said it was okay to skip school. Did I skip school? A lot. I was a bad kid, not because of my parents. Don't blame it on the parents. Sometimes it's not their fault.
I know parents with a kid like you! LOL
Both parents indeed value education. They both have master's degrees, work in professional fields requiring them. Both push education and always have. The kids were A students until they hit high school. The high school was a well-regarded, award-winning high school and both kids HATED it because it was very much a Lord of the Flies environment. The parents knew the kids hated it, but as far as they knew everything was going okay.
Then one day, the mother gets a call at work from her oldest kid's SUBSTITUTE teacher asking her if she knew her kid had skipped 42 of the last 50 days of school?

No, of course she didn't. What happened was that she would drop the kid off at school, the kid would walk in the front and out the back door and go home. The school had an automated voice message system that called home and left a message on the machine telling them the kid was absent without excuse and since the kid was home, the kid deleted the message. Same for the letters mailed home. Since no one at school made any other attempts to contact the parents, they had no idea until this substitute teacher took it upon himself to try and ascertain why a student who had previously carried a 4.0, had basically dropped out of school.
Once the parents were apprised of the situation, they did their best. But.... short of going to school with her and sitting outside her classroom all day, there was nothing they could do. She would NOT stay in school and the school did not prevent her from leaving. The parents could not afford to have one of them quit their job to sit outside the classrooms all day and moreover, the school would not allow them to do so.
She was finally declared habitually truant and expelled. The parents were devastated. They enrolled her in a private school, same result, another private school, same result. Put her in boarding school and she ran away and got in bad trouble. Found her, brought her home... She was too young to get a job, so she won -- she got to stay home. When she was about 25, she finally wised up and got her GED and went to community college and eventually transferred to a 4 year program. If you ask her today about why she did what she did, she still cannot tell you.
In her case, I simply do not know what else the parents could have done.