What is the most likely diagnosis for a patient experiencing shortness of breath, severe chest pain, and coughing up bloody sputum?
A) Pneumonia
B) Pulmonary embolism
C) Lung cancer
D) Chronic obstructive pulmonary disease (COPD)