Teachers open camping kid's sealed letter home; eject kid for confessing to eating chocolate

The point being missed in this discussion is that the kid embarrassed The Authority. When you embarrass The Authority, The Authority will strike back with overwhelming force to disincentivize the other inmates/pupils.

It’s got nothing to do with chocolate, allergies, dirty hotel rooms or anything else. Just don’t embarrass The Authority or expect to pay the consequences.