Hi, as you suspect it must be the recurrence of the ulcer, other causes could be pancriatitis, amoebic colitis
, or stone in the kidney or upper ureter
. The responce to the treatment suggests it must be the ulcer.
I advise you to consult a gastroenterologist
for diagnosis and treatment. Thank you.