Its seen with a variety of acute brain injuries like head injury
and large strokes especially hemorrhages. The edema is related to leaky capillaries. The exact mechanism is unknown but one theory is the brain injury
causes a sudden release of stress
hormones ( like adrenaline
) that injures the capillaries and allows them to leak fluid into the lung.