Most of the time back pain
(originating in the spine or spinal nerves) can move along nerves under the ribs known as intercoastals.
Thus pain starting in the back can move to the front of te chest. Muscular injury to back muscles can also "radiate" to your chest as well. I would start with a trial of anti-inflammatory medications and of no improvement seek medical eval.