Poor boy! Something is certainly not right. He may have gotten a parasite, or have a case of colitis, gotten dehydrated, also could he have swallowed anything?
You can give him bland diet for a few days to see if his poop gets back to normal. If not, a vet visit is in order to rule out any parasites.
Sent from my iPhone using Tapatalk