As explained to me by the pedi:
When they are teething, they swallow excessive amounts of drool. The excessive drool, coupled with the hormonal changes/surges associated with teething, oftentimes cause them to have looser poop.
If there are no other smyptons of something wrong, I wouldn't be worried.