He didn't "give up"... he kept walking, and his mommy drove him home. The cops let him leave the scene,even while people were telling them that the kid shot three people.
Yes, he turned himself in later, but I am not convinced that he would have, if his face wasn't all over social media.