Why do my ribs hurt when I stretch?

Costochondritis. The most common cause of rib pain is costochondritis. It is a benign condition that usually responds to antiinflamatories and rest..