Hernias can result from a combination of muscle weakness and strain, often due to factors like heavy lifting, persistent coughing, or straining during bowel movements.