I kind of disagree with that being not caring about you. It’s kind of more like they are helpless to help you, but they still want you to be better because they want you to be happy.
So, a lot of people default to giving useless advice. It is still an expression of care and love and support, just an ineffective one that is insulting and annoying to someone who’s currently going through it.
I would much rather have somebody whom I’ve known for years tell me to try doing things that improve their mental health than to have nobody or for everyone to just look the other way while I am suffering.