Since emotions are controlled by the limbic system, the prefrontal cortex (our rational brain) never gets involved before an emotional reaction occurs.
This makes sense since these emotional responses originally evolved as a survival mechanism.
It necessarily follows that the thoughts that accompany an emotional reaction are inherently irrational.