Cerebral palsy is caused by a brain disorder or injury that can occur during pregnancy, during birth, or in the first couple of years of a child’s life.