When it comes to costochondritis, exercises might be part of the cause. But chest pain and discomfort can also be potential symptoms of a heart attack.