Foamy stools in children may be caused by lactose intolerance, indigestion, acute gastroenteritis, intestinal flora imbalance and other reasons. 1. Lactose intolerance: If a child’s body lacks the enzyme lactase, it can lead to lactose digestion and absorption disorders, causing lactose intolerance. The child may have symptoms of indigestion such as bloating, abdominal pain, diarrhea, etc. and may also have foamy stools. 2. Dyspepsia: Children with dyspepsia, which may be caused by improper diet, may have foamy stools. 3. Acute gastroenteritis: it is an acute inflammation of the gastrointestinal mucosa, and the child may have diarrhea, nausea, abdominal pain, vomiting, fever and other symptoms, and may have foam in the stool. 4. Intestinal flora imbalance: excessive gas-producing bacilli in the intestinal tract can lead to foamy stools and loose stools. Parents are advised to take their children to the doctor, improve the relevant examination to clarify the diagnosis, and carry out targeted treatment.