Epigastric hernias happen because of a defect or weakness in the abdominal walls.