Phrase: Jim yelled at Kevin because he was so upset.

Question: What does "he" in "he was so upset." refer to in the phrase?
Option A: Jim; Option B: Kevin
Answer: a