May have eaten something he shouldn't have, make sure he didn't get into something poisonous, and keep an eye out for any changes, if he gets blood in his stool get him to the vet right away, otherwise just give him lots of water for now and cooked white rice. If he still is doing it get him to the vet. Best wishes