Relying on the symptom of foamy stools cannot determine the disease. Frothy stools may be caused by cancer, but it is usually related to diet and may be caused by intestinal infections; it is recommended to consult a doctor in time to find out the cause of the disease. 1. Cancer: Bowel cancer may cause changes in stool characteristics, such as mucus on the surface of stool or foamy stool, but this is not unique to bowel cancer. 2. Diet: If you often eat beans, sweet potatoes and other indigestible and gas-producing foods in your diet, the phenomenon of foamy stool will occur. 3. Infection: foamy stool may also be caused by intestinal infections, such as viral enteritis, bacterial dysentery, etc., the patient’s intestinal peristalsis is fast, the feces is not shaped, but the gas production is more, easy to appear foamy stool. It is recommended that there is a persistent discomfort timely consultation, please ask the doctor to clarify the cause of the disease, give targeted treatment.