Sounds like he ate some substrate or perhaps even feces. If it is gone now it either went down the hatch or he managed to get it up. I would take him to the vet and get him checked out. I would hate to chance impaction. Not a bad idea to get em checked once or twice a year anyway.
Good luck!