I feel like I've noticed this, too, but it really doesn't make sense. The sympathetic nervous system causes your eyes to dilate, and when frightening, the sympathetic nervous system dominates. of course, that's in humans, so perhaps it's different for snakes. I definitely think I've seen my snakes pupils constrict when startled, of course, maybe it just so happens that light is flooding into their eyes just when we think they're scared?