It's classic attention-seeking behavior.
https://lemmy.world/post/39812401
Photic sneeze reflex
I have this, too. It’s useful when I’m trying to work out a sneeze, but can be confounding if that happens at night. Sometimes artificial light will work, but rarely.
Theres also
https://en.wikipedia.org/wiki/Sexually_induced_sneezing