What is wrong is that they probably have a protocol where if the "perp" and everyone not in uniform is a possible "perp" until cleared, once approached must be determined as to status. Once the cop began he had to either ID the kid, subdue the kid or determine he was not a "Perp".
This is th new ICS protocol for safety of the Officer where he must make the "Perp" safe by questions, then restraint, then by arrest.
That officer holds a Surety Bond and it should be execised by the parents so the protocol is removed and possibly the Cops. (Both of them)