The most common causes of rib cage pain are a pulled muscle or bruised ribs. Other causes of rib cage pain are: 1  broken ribs. 2  injuries to the chest. 3  rib fracture. 4  diseases that affect the bones, such as osteoporosis. 5  inflamed lining of the lungs.