Could his anal glands be bothering him, maybe?

Good luck and let us know what you find out from the vet!