I am going to say "Yes, those tomatoes probably are causing all your pain, along with other food items".
I met a woman at a Chinese buffet a few years ago who said "Don't eat the eggplant". I was using a cane at the time, I had so much pain in my knee and hip. We talked, and that's how I found out about the nightshades.
I cut out potatoes immediately, and I never really ate eggplant much anyway, but completely stopped. I found that cutting out all of this, including peppers such as bell pepper, helped, but not totally. When I saw one list, months later, it listed tomatoes on top. That was the first and only time that it wasn't potatoes on top, and I had missed it entirely. I didn't think tomatoes are part of the nightshade family, and wow, they sure are.
Well, I can eat some raw tomato, but not any kind of sauce except ketchup, of which we eat a reduced-sugar type. Another woman I know eats all the sauces, but cannot eat them raw. We are all different! I really miss spaghetti sauce
I kept looking things up to see if they might be causing me pain. Sugar seems to be the number one culprit. Processed sugar, not "carbs convert to sugar" sugars. I could go on and on with examples, LOL, from me to my boss to other people. And I have found that other things - soy, for instance - causes me a lot of pain, and I did find that on lists of no-no's when I searched. I've had to cut out so much from my diet. I do take lots of ibuprofen (yes, the doctors know and keep track of me) and without it, I can't walk or stand. So I am very invested in trying to find safe solutions.
I would like to point out that one thing that is very good for getting rid of arthritis inflammation is cherry juice. I cannot use it, being diabetic, but I know many who do, and they say it's like a miracle. They buy tart cherry juice. I cannot help with how much to take, or anything, but I imagine it's easy enough to figure it out. My mom would eat cherries for the arthritis in her hands and it completely stopped the pain.
I was looking for a thread on arthritis to see if anyone has experienced something I just went through. I had to fast for a day with only clear liquids, and noticed that after that, my hip pain went completely away. It had been very severe, and had been keeping me from sleeping over the past few weeks. I still have knee pain, but no worse or better than before.
This is evidence to me that the pain is diet-related. No matter what I stopped eating, I always had pain, sometimes more, sometimes less. I told my husband that maybe I just never cleared it all out of my system enough, and the fasting day did that. I hoped for information on fasting, but didn't find anything here I could use. But, I thought I'd mention it. And now I am going to search for an arthritis elimination diet plan to help me with it all. Good luck!
EDIT: I just realized I am saying I can eat the raw tomato, but maybe I can't, it simply seemed that way because sauces caused so much
more pain. Yep, food for thought.