The Genetic Reflex to Sunlight Sneezing
About one-third of the population uncontrollably sneezes when exposed to bright light. This happens because of a rare genetic glitch where the brain confuses light signals with nasal irritation.
Known as the photic sneeze reflex, this condition is passed down through families like a physical trait. When light hits your eyes, your optic nerve fires signals that accidentally trigger the trigeminal nerve, which controls your nose. Because the body thinks there is dust or debris, it triggers a sneeze to clear the path. It is a harmless medical quirk that makes stepping into the sun feel like an allergy attack for millions of people.
Source: Photic sneeze reflex