Serious conditions that may cause you to cough blood are lung cancer and congestive heart failure. Seek emergency care if you also have other symptoms like fever and chest pain. Coughing up blood ...