Rib injuries, infections that cause violent coughing, stress, anxiety, heartburn, etc., could be some of the contributing factors. Sometimes people complain of chest pain while running. While running or performing any kind of intensive exercises, the heart has to work harder for delivering more blood to the muscles.