Possible reasons for coughing rib pain include: rib fracture due to trauma, lung infection leading to pleurisy, costochondritis, etc. 1. Trauma: traumatic injuries such as pulling muscles from strenuous exercise and external impact can lead to rib fracture, which can be seen as localized pressure and swelling, and the pain is aggravated by pulling the soft tissues when coughing and inhaling. 2. Lung infection: bacteria, viruses, tuberculosis and other pathogens can make the lungs become infected, and when the inflammation involves the pleura, pleurisy will occur, and the patients will show the clinical symptoms of chest tightness, breathlessness, and pain in the ribs when inhaling and coughing. 3. Costal chondritis: chronic muscle strain, strenuous exercise, bacterial infection may cause costal chondritis. The main manifestation is localized pressure pain, coughing, deep breathing pain aggravated, and the pain site is fixed. If the pain is aggravated and the pain is prolonged, it is recommended that patients go to the hospital for examination and symptomatic treatment as soon as possible; do not avoid medical treatment, which will aggravate the condition and cause the best treatment time to be missed.