Maybe it measures the anal muscle pucker factor.
Seriously, there is a medical device that measures the “anal muscle pucker factor” and equates it to levels of stress.
When a person is severely frightened, they automatically go into the fight or flight mode. The most obvious indicator is that “pucker factor”.