How can you be arrested for running away?

The juvenile is not "arrested" he or she is taken into protective custody and remanded to juvenile authorities. Running away is not a criminal offense as such, it is considered a "status offense" and can be adjudicated under criminal or civil statutes depending upon the circumstances of the matter.