An epigastric hernia happens because of a defect or weakness in the abdominal muscles. The weakness in the muscles could be the result of lifting heavy objects. It could also be caused by aging.