The pain may be related to a pulled muscle or costochondritis, an inflammation of cartilage in the ribs. Chest pain with exercise could also be caused by angina (pain due to reduced blood flow to the heart) or a heart attack. Seek medical care if you have any new or worsening chest pain.