Ventral hernias occur because of a weakness in the muscles and tissues of the abdomen.