Why coughing up bloody mucus?

See doctor... The most common cause for coughing blood, called hemoptysis, is bronchitis. But, malignancy can also cause this and must be ruled out so see your doctor asap. If you are short of breath or coughing up a lot of blood, go to the er. If you smoke, you need to quit to decrease airway inflammation.