Bailey pushed Tracy's cat away from the door when she heard the dog coming up the stairs.

Given that the answer to a question is "keep the cat from swatting the dog's nose when the dog said "hello"", what is the question?




Why did Bailey do this?