Vomiting after sex?

Bailey

My boyfriend and I had protected sex (pill,condom) and after he felt shaky, weak, and tired. 5 hours later he woke up in the middle of the night feeling like he had to use the bathroom but instead he threw up. He currently still has an upset stomach and a headache. Is he okay? Does anyone know why this randomly occurred as he was normal all day? Thank you for your input.