Hernias can result from a combination of muscle weakness and strain. Factors that contribute to muscle weakness include age, chronic coughing, congenital defects, and prior surgeries. Strain factors include heavy lifting, constipation, obesity, and pregnancy.