The reasons behind your dog's sore chest include bacterial or fungal infection leading to inflammation. Besides, some foreign substances might be lodged in the pleural space, infections from parasites, internal rupture, physical damage, and post-operation problems.