I believe it to be something you're eating a lot of that your immune system don't like.
I got rid of mine by fasting [10days] didn't change my eating, and it returned after a while.
Fasted again, got rid of it again. Cut back on sugar and junk food and it's been decades without UC.