Canker sores can be particularly painful due to inflammation and irritation of the sensitive nerve endings in the affected area. Factors such as acidic or spicy foods, trauma, and stress can exacerbate the pain.