Poor Kody has a little bit of Diarrhea and I assume some associated stomach discomfort which I think is what's bugging him the most. When he came back from his root canal he didn't have diarrhea but he was a bit fixated on his butt for a while, so I think it was probably the same thing. Most likely a result of whatever drugs they give him.
He is giving kisses now, so that's a good sign.