A coup-contrecoup injury occurs when the brain is injured at the site of impact and also on the opposite side due to the brain moving within the skull. This type of injury is common in traumatic brain injuries and can result in significant neurological damage depending on the severity and location of the impact.