Understanding what causes cerebral palsy can help parents make sense of a difficult diagnosis. While CP often results from brain damage before, during, or shortly after birth, the reasons behind it can vary—from lack of oxygen to infections or medical mistakes.