Phrase: This morning, Joey built a sand castle on the beach, and put a toy flag in the highest tower, but this afternoon the wind knocked it down.

Question: What does "it" in "knocked it down" refer to in the phrase?
Option A: The sand castle; Option B: The flag