Having a strong, selfish desire for something, whether it be money, power, or food, is referred to as "a greedy dog." Because he isn't pleased with the food in his mouth, the dog is greedy. He wants to eat the food that he sees on the other dog.