The most common cause is an infection of the intestines due to either a virus, bacteria, or parasite; a condition known as gastroenteritis. What are three types of inflammatory bowel disease?