I think you may have answered your own question. Perhaps he ditched the body armor, etc., which allowed him to get a mile away from the school before he was arrested. They were looking for a perp in all black body armor, so a kid who wasn’t wearing this, could easily slip through.
The news just after the shooting during the hunt for him was all over the eyewitnesses describing the shooter wearing a purple shirt, not SWAT black.