A healthy dog will not starve itself.

He shouldn't be living on table scraps to begin with. Some here and there aren't necessarily a bad thing, but they are not a good diet for a dog.

Give him a clear choice. His food or nothing. Eventually he will eat.

The blood would seem to be something the vet should check out. I'd be looking for a new vet to boot.