The cat is mad the dog is sleeping in the room. So the cat is pulling on the door to slam it and shake it.