When the catheter came loose in my abdomen I had surgery to fix it and it happened again the next day, so they had to fix it again. After that I started to bloat and had abdominal pains like you describe, they measured my abdomen everyday, and found that it was expanding by 11cm a day.
At first they thought I had a twisted bowel or something, but after an abdominal scan they said thatbecause of being starved for surgery and then having surgery in my abdomen, it had upset my bowel and triggered IBS, which I do suffer from. It did settle down after about a week. I don't know if that is what you have, but maybe you could explore if it is IBS that's been triggered.