A 15 year old could be working in many places - probably at least has a functional understanding of value for money based on past experiences, a 5 year old almost certainly doesn't.
It’s just a magic line. 17? No consequences. 18? Full adult.
Complete fiction. Minors being tried as adults happens all the time. It all depends on how heinous the crime is.