the theory of emotion that most in line with this scenario is The Cannon-Bard theory
In the The Cannon-Bard theory, we correlate the psychological emotion that we felt with physiological response. For example, when we feel anxious , our heart will beat faster, when we feel scared, our legs will start to tremble, when we feel sad, our eyes will produce tears, etc.