Positional pain in the back/side is most commonly a result of muscle problems, but could be stemming from the spine as well.
It makes a difference where the pain is located as well-- chest wall vs abdomen. Regardless, if symptoms are worsening or changing, you should have an evaluation. Certainly any tenderness or "deep" pain should be looked into more urgently. Hope this helps!