Welcome to the forum.
It could be UC, and or the meds too.
It could also be malabsorption of nutrients too.
What meds are you on?