Baby poop problem?! TMI

My little guy is 12 weeks, and for the past 24 hours he has had about 7 poopy diapers which have progressed from mustard looking to showing some mucus and a greenish tinge. He is mainly breastfed with maybe 2 bottles of formula in a 24 hour period. Lately he has also been biting on the nipple of his bottle and not fully finishing a bottle in one sitting. I also notice he’s been sucking

his hands a lot. Could this just be from teething? He isn’t showing any signs of illness.