I haven't had any problems with any foods, but for some reason, pumpkin pie makes me feel awful. I really thought it could have been something else, but over the past month, I had it several times and each time I got sickly... The only thing I have to watch is alcohol. Two drink maximum anymore and I'm down with cramps.
I do pumpkins are a squash family and it's bad for me. Almost all veggies make me bloated and not feeling good until it passes through. So, I haven't eaten veggies since 1994 and have cured most of the bloated problems and gas build-up thanks to my gastrologist. I only get problems when I eat something that someone tries to sneak in food when I ask if there are veggies in it and they say no. Other than that, it's all self-inflicted by what I choose to eat.
Often, ginger is a spice which is used to add zest to pumpkin pie, sweet potato pie, and other holiday foods. Even a "pumpkin" spice may contain ginger. It has a very tasty exotic flavor, but it really can upset your stomach and increase gastric reflux. It's usually better after 24 hours.
Pumpkin always bothers me. It is especially bad if the pie is of high quality (i.e., made from scratch or bakery quality). The cheap frozen pumpkin pies don't bother me as much. Do you have this problem with other pies? It could be all the fat in the crust, you know.