It has been shown that the activity of the norepinephrine system is correlated with pupil diameter. Norepinephrine is one of the 4 main neuromodulators (the four being acetylcholine, norepinephrine, dopamine, and serotonin). Acetylcholine and norepinephrine are both highly correlated with attention, and are believed to mediate various aspects of task-relevant direction of perception.
Norepinephrine in particular is believed to mediate "vigilance", which can be thought of as noticing the environment, or giving priority to new sensory information from the environment. Increases in norepinephrine, which is released from the locus coerulus, are known to correlate with increase pupil diameter size. So perhaps this is one explanation.
The relationship between norepinephrine and pupil diameter is mentioned in this review of the norepinephrine system by Gary Aston-Jones and Jonathan Cohen (2005) in Annual Reviews of Neuroscience:
http://www.csbmb.princeton.edu/ncc/publica...sAnnRev2005.pdf