Molecules responsible for smells tend to be small, on the order of 100-300 Daltons—otherwise they aren’t able to diffuse easily in the air.
The vast majority of allergens, on the other hand, are proteins, with the very smallest proteins being on the order of 1 kiloDalton. Large proteins get up into hundreds to thousands of kDa.
I also suspect there's not much reason to boil peanuts in water outside of the very specific (and delicious) snack called boiled peanuts. I can't really think of any other dish that uses them as a normal ingredient. Most of the time you'd toast them in oil for dishes or use peanut oil afaik.