Diverticulitis is caused by an infection of one or more of the diverticula. It is thought an infection develops when a hard piece of stool or undigested food gets trapped in one of the pouches. This gives bacteria in the stool the chance to multiply and spread, triggering an infection