Is your dog a female and not fixed? How old is your dog? Could be in heat, but if not, vet is the best thing to do.
You know there is something wrong take him to see the vet......the best to you
My dog is 12 year old she is fixed an now she had blood come out her Butt .. Same dog food what could it be ??????