The point is... we know our pets are worthwhile, decent beings... and while Barry is going with the idea that the human is a loving parent of a small child (quite possibly...), they could also be a dangerous, violent, criminal. Imagine killing your dog, to find you saved a paedophile...
So, on probabilities, you are better saving an animal.