Heart valve diseases can also cause heart failure. The blood may leak back through a defective valve, causing the heart to work harder and blood and fluids to build up in the lungs.