Hello --
For some reason raw apples, in particular, probably because of their high fiber content, are a common cause of epigastric
pain, especially nocturnally. This last is easier to understand, since while lying horizontal in sleep our stomachs tend to not empty so quickly and if we have
GERD or hiatal hernia things can actually back up quite easily. Apples are one food which tends to just sit there, so this is probably a good thing to avoid, especially late in the evening.
Baked apples are less difficult to digest, but still are made out of the same stuff, essentially, and both raw and baked ones contain pectin, which while generally beneficial is, like most fiber, a digestive challenge for some.
The reason this
pain radiates to your back is because the epigastrium (the area where you're feeling most of this
pain) actually lies close to the nerves servicing the area immediately behind it as well as in the center and is fairly thoroughly innervated, so quite sensitive.
I hope this answers your question adequately. If the problem seems to progress, please get back to us. Hopefully you've solved the problem and won't have to deal with this anymore.