Why do people get appendicitis?

I had appendicitis and my doctor said that I had it because of the lack of fiber in my body. So if you had appendicitis then you didn't take enough fiber as well. It also has to do with your diet. The way you eat as in how many times a day and what you occasionally eat. Nobody is really sure just what causes it. Some doctors believe it occurs when fibers or seeds irritate the appendix.