Coughing blood, also known as hemoptysis, can occur due to infections, lung conditions, or other health concerns. Medical evaluation helps identify the source and severity of bleeding through different diagnostic tests. Doctors may recommend blood tests, chest imaging, sputum analysis, and specialized procedures to examine the lungs and airways.