An injury to the gastrointestinal (GI) tract, inflammation, and ulcers can all cause the lining of the digestive tract to bleed. In some cases, perforation may occur, resulting in bleeding, abdominal pain, and severe illness.
If bleeding occurs in the GI tract, the blood passes out of the body with the stool.