I would still ask. It’s arguable whether the dog should be sequestered in that situation; but you probably don’t know the dog’s health, food sensitivities, if any, or the owner’s training schedule.
“Hey, Bob, this sirloin steak you gave me is tougher than cheap shoe leather. Mind if I give it to your dog?”