Causes. Intestinal infection involves inflammation of the gastrointestinal tract that leads to acute diarrhea and vomiting. This infection is caused by various microbial agents like viruses and bacteria. Sometimes, intestinal parasites and their toxins also lead to inflammation and diarrhea.