Rib pain is associated with some types of anxiety more than others. While anyone can have some type of pain in their rib related to their anxiety, those with anxiety attacks and other symptoms of breathing issues related to anxiety may be more prone to that type of pain.