That goes back to kids not really having any rights whatsoever though, save basic human rights. They aren't people, they are subadults, and that's why they also aren't really held accountable for their actions as an adult either.
And yet, when they commit crimes they are judged as adults.