Pulmonary embolism is caused by a blood clot that travels to the lungs.