Hello and I am sorry your having problems. I would like to suggest the medication for anxiety. First of all the pain med was not prescribed for your stomach problems and Tramadol can be hard on your GI tract. Also you are masking your symptoms by covering abdominal pain with the med. You maybe want to see if decreasing the anxiety decreases the pain.
Just my 2 cents worth. I understand too about which came first. I have that same issue with Anxiety and Depression.................which came first.
Gentle Hugs to you.