Yes, there are certain foods that make some people put on weight, it seems to vary from person to person. About three years ago I started to correlate what I was eating with my weight and I developed what I now call the "Do Not Eat" list. The worst culprit on my list (which I will never eat again, so help me I would rather starve) was anything with dough conditioners especially donuts. I started as a juror on a 3 week wrongful death suit at 228 pounds. Within three weeks I was 268. They served us donuts and bagels every day in the jury deliberation room. I was not in the habit of eating donuts but there was no restaurants within a reasonable distance of the courthouse. I was exercising the whole time. The second thing on my list is KFC. I know that a lot of that was sodium but dang it if I didn't take 4 weeks to lose the 4 pounds I put on overnight. The only way I know how to actually make progress with weight loss is to weigh in at least every other day and track which foods preceded a weight gain. Then, test it. If at another time does the same food cause a problem? Sometimes its not the food, sometimes its activity level or stress level.
I hope that helps. Btw, I also avoid hot chocolate, I always put on fat when I have that.