HI, thanks for using healthcare magic
can occur as a result of problems in any structure in the chest: the skin, muscles and other soft tissue
, bones such as the sternum
or ribs, lungs, heart, esophagus
Burning discomfort in the chest is usually as a result of gastroesophageal reflux.As you correctly implied it can be brought on by the use of spicy foods but there are other causes such as: acidic/ fatty or fried foods, excess weight which would put pressure on the stomach, using large meals, laying down too soon after eating.
You can try to modify the above factors. Additionally you can try elevating the head of the bed.
If the lifestyle measures are not effective then you can consider visiting your doctor for an evaluation because medication may be necessary.
I hope this helps