Blockage or obstruction of the opening of the appendix leads to bacteria being trapped inside. This leads to inflammation and infection and right-sided lower abdominal pain. This is called appendicitis.