thanku for your query,
well it seems sudden indigestion
of food ingested .It happens during teething
process ,which is common between 6 to 8months. give some probiotics to the baby it will settle down.If it does not settle down in 2 to 3 days kindly show to pediatrician
and get a stool routine done.
now your baby is 7months , start with home made khicdi, pulao,soups to the baby
i hope i have answered your question to your satisfaction.