People using this method are trying to use their positivity to make others more positive by trying to take away the importance of a specific issue or problem. This is usually done with short sentences or proverbs and quotes that make light of the real feelings the other person is feeling, trying to make them seem unimportant.
In this way, your true emotions and the circumstances of your life are ignored when you hear things like "just think positive", or "be more active" - as if the problem is so trivial as to be fixed with platitudes and positivity. But that is not realistic when we're talking about true depression or any other mental issue.
We all struggle against negative emotions and anxiety, and at those moments, the last thing you need are empty platitudes. The thought that just being positive around you will make you better belittles the importance of what you are feeling.
Toxic positivity tells us our problems are not problems, and that you're the ones making them so. But instead of offering real help, your problems are, in effect, ignored. These people usually mean well, but may also be too lazy to try and invest real time and attention listening to your true problems without judgment.