Hypoxic brain injury occurs when the brain is deprived of oxygen, potentially causing permanent neurological damage.