Hacking cough is the primary cause of soreness in the chest muscles. Persistent coughing puts a lot of strain on the chest muscles, chest wall, which eventually results in soreness. Sore chest muscles from coughing is mainly found in people suffering from respiratory disorders such as pneumonia, bronchitis, etc.