your child seems to have reccurent gastrointestinal infection
that is why he is passing stool, not because of teething
, this is very happy baby is not developing dehydration
as you are giving him sufficient fluids, better to go for simple stool examination and stool culture which comes after 48 hrs kindly upload those reports for Popper evaluation and treatment.
take care bye.