There are many reasons for coughing and coughing up pain in the chest and back, which may be caused by pulling muscles and may also be caused by lung diseases and pleural diseases. 1. Pulling muscles: coughing can clear the secretions in the respiratory tract, and at the same time enter the airway of foreign bodies in the occurrence of violent coughing, will produce a pull on the chest and back, resulting in pain. 2. Lung disease: when there is severe pneumonia, pneumothorax and other lung diseases, coughing can lead to pleural pulling pain, triggering increased tissue damage and pain. 3. pleural diseases: such as pleurisy, pleural tumors and other conditions, when the chest wall is damaged, coughing can cause changes in the chest wall, resulting in pain. There are many reasons for coughing and coughing chest and back pain, it is recommended to go to the hospital in time to clarify the cause of the disease, under the guidance of the doctor for treatment.