Bloody sputum (coughing up blood or bloody mucus or Hemoptysis) can come from common forms of infection in the lungs and airways, such as acute bronchitis or pneumonia. Bloody sputum can be a result of lung cancer. Bloody sputum is also referred to as hemoptysis