Well, peanut allergy is lethal and can be triggered by even inhalation of peanut dust in more severe cases.
Sensitivity to sunlight is way more manageable (by applying sunscreen and covering the skin) and although kids share food and/or eat them in the same environment I don't think they're carrying UV lights to apply to other kids.