One of the main reasons someone feels pain when coughing, sneezing, bending, or lifting is a hernia. If pain suddenly gets worse or you see a bulge in the abdomen, seek medical care for a proper diagnosis.