I believe the answer is:
Minors require special legal protections.
They are deemed to have no yet fully developed in term of mentality. Because of this, they punishment that given to minors tend to be more lenient compared to adults even if it's for the same crime.
He was in custody because he concluded that he was under arrest.
From this fact, justice kennedy concluded that the law enforcement has violate his miranda right.