Mostly it is gastrocolic reflex. It will happen each time you feed the baby. Nothing to worry, keep watch on urine frequency. Baby should pass urine 7-8 times a day, that will show baby is not getting dehydrated due to excess stools. Feed baby every 2-3 hourly, that ensures adequate hydration.
Next Steps
Watch for urine frequency for monitoring dehydration
Health Tips
Immediately contact nearby hospital if baby is lethargic, not taking feeds or passing less urine.