Performance before illness

Quick question that I’ve been thinking about for a while. Is there any physiological reason that soon after a workout that goes really well (you feel awesome) you succumb to a cold?

My thinking being along the lines that your body already has the cold, and some immune response in the early stages boosts your body to good performance.

Or, a good performance hammers you so much the slightest illness takes hold easily.