Appendicitis is often caused by a blockage in the appendix, which can lead to bacterial infection and inflammation. The blockage can result from factors like mucus, stool,or enlarged lymphatic tissue.