You can thank the sympathetic nervous system, which controls pupil dilation, for giving you away. This doesn't occur only when you're attracted to someone — you can also go wide-eyed when looking at anything aesthetically pleasing, from a tempting dessert to a stunning sunrise.