Which of the following contains a vague pronoun reference?
A. As John was walking with his friend Bob, Bob tripped on the uneven sidewalk.
B. As John was walking with his friend Bob, he tripped on the uneven sidewalk.
Select the correct answer from the provided options and reply with the letter associated with it.

B