Does this ever happen to anyone...

I don't know if this is a part of having depression and/or anxiety, but does it ever happen to anyone that they have completely mixed/opposite feelings about something or someone, to the point where the two halves of yourself can't relate to each other?

For instance, lets say you have a friend. Sometimes you feel as if this friend is the best person you've ever met, you're so lucky to know them, you want to spend all your time with them, etc. And then something will happen (not sure if the catalyst is important) and you feel like they're using you, they don't really love you, you want them out of your life; and you can remember/feel any of the things you felt before. And then something else would happen and you feel all the good things again and can't remember/feel any of the bad things from before.

I imagine it like there are two complete halves in me that I inhabit completely from time to time but they don't communicate with each other at all. I know each half exists but I can't remember why I was panicking or why I thought everything was wonderful, but both sides feel very very real.

I don't know if I explained that well - does anyone know what I mean?