Costochondritis occurs when the cartilage connecting the ribs to the sternum (breastbone) becomes inflamed, and while it is benign, the pain can be debilitating. Costochondritis occurs when the cartilage connecting the ribs to the sternum (breastbone) becomes inflamed, and while it is benign, the pain can be debilitating.