Apart from foreign particles, swelling of the lymphatic tissues of the wall of the appendix can also cause a blockage. Such a blockage can harbor bacteria, fungi, parasites, and viruses, which can cause infections. As a result, the appendix gets inflamed and filled up with pus.