Which of the following contains a vague pronoun reference?
A. As David was walking with his friend Bob, he tripped on the uneven sidewalk.
B. As David was walking with his friend Bob, Bob tripped on the uneven sidewalk.
Pick the correct answer from the listed options and provide the letter of the selected option.

A