How can you be sure the steroids themselves aren't causing the mood change? I also have UC and steroids make me noticeably, behaviorally manic. I don't think the mania is due to the absence of inflammation.
I can't. But there's good evidence that inflammation is linked with depression and steroids unquestionably reduce inflammation. They may well have further effects. They are certainly not something I want to take consistently.