Some of the most common causes of bloating and diarrhea include gastrointestinal illnesses caused by viruses, bacteria, and parasites. A person may also become bloated and suffer from diarrhea because he has a long-term condition, such as irritable bowel syndrome or Chrohn's disease.