you rushed to judgment without hearing his unedited side of the story...
maybe he hadn’t eaten for a while and was hungry...
there are other medical conditions besides peanut allergies...
maybe this individual needed to eat to address theirs...
But he didn’t stop (and he could have eaten something else).
Good point. Nuts are considered very healthy food.
My advice would be to travel by car or train with a private compartment if you have this problem.