Some reason I just have zero motivation to lose weight. Does my depression and anxiety have anything to do with this?

That is quite. Posibly a contributing cause. Increased appetite & weight gain can occur with atypical depression. Eating can also be a form of self -soothing for some people who are anxious or depression. It is not uncommon to have low motivation levels with depression. Take care.