Impacted anal gland, probably...feeding my dog small raw baby carrots for snacks seemed to fix this for her...but I had to get the vet to squeeze the impacted glands first. I think the added fiber to her stools helped keep everything working right...good luck!