Pulmonary edema is often caused by congestive heart failure. When the heart is not able to pump efficiently, blood can back up into the veins that take blood through the lungs. As the pressure in these blood vessels increases, fluid is pushed into the air spaces (alveoli) in the lungs. Blood in the veins and lungs, and/or other changes that may further weaken or stiffen the heart.