Phrase: I poured water from the bottle into the cup until it was empty.

Question: What does "it" in "it was empty" refer to in the phrase?
Option A: the bottle; Option B: the cup
Answer: a