Unshaped stool with bubbles may be related to chronic pancreatitis, gastroenteritis, indigestion and other factors. The details are as follows: 1. Chronic pancreatitis: after the pancreas is damaged, its ability to secrete digestive enzymes will be reduced, making it difficult to maintain normal food digestion, and even fatty diarrhea, such as unshaped stools with bubbles. 2. Gastroenteritis: after the intestinal tract is stimulated by inflammation, gastrointestinal dysfunction will occur, affecting the peristaltic function of the gastrointestinal tract, leading to accelerated gastrointestinal peristalsis and unshaped stools with bubbles. 3. Indigestion: A large amount of food residue remains in the intestines, and intestinal bacteria produce a large amount of gas when breaking down the food residue, which results in unformed stools with bubbles. If the stool is not shaped and foamy, it is recommended to go to the hospital in time to find out the cause of the disease and then treat the symptoms.