Bacterial or viral infections in the digestive tract can lead to swelling of lymph nodes, which can squeeze the appendix and cause obstruction or blockage. When the lymph nodes swell it is called lymphoid hyperplasia.