While the villagers are certainly justified in their anger, the sudden attack is a disconcerting episode of mob behavior, showing their inability to respond rationally to new challenges. It’s important that Walter gets caught in the beating; while they don’t hit him intentionally, their lack of concern shows that they’ve stopped thinking of him as a member of the community.