From my experience with school bullying it was an entirely social problem. If the rest of the classroom agreed that you shouldn't be bullied then there were few ways for a handful of kids to go against that consensus, and most of them would backfire on the would-be bully.
Of course, if you're young and you have no friends, good luck getting your peers to think you're worth defending.