Bailey pushed Tracy's cat away from the door when she heard the dog coming up the stairs.
Why did Bailey do this?
close the door
keep the cat from swatting the dog's nose when the dog said "hello"
scare the cat