Because with problems with your heart which makes blood pump out slower which mean there is less blood getting to your brain, and since your brain is what keeps everything working correctly it doesnt just affect your lungs it affects your entire body.