I don't think pretending to ask for advice is a fair description of what's happening. usually when people tell me about their problems, it comes in the form of declarative sentences. clearly venting, not asking for advice. sometimes they'll say something like "I don't know what I'm gonna do" or "what am I gonna do?" which almost sounds like asking for advice, but really isn't.
now if someone describes a problem and asks "what should I do?", that is a clear solicitation for advice. if they get mad at you for trying to help solve the problem, that's totally on them.
Very often, there is no perfect solution. Even if somebody has some idea what they can do about the problem, that doesn't mean they can just do it and everything is great. Say, if your marriage is falling apart, you can either stick with it and try to improve things or get divorced. Those are your options, and they're both painful.
I just don't understand this humanoid need for seeking emotional validation by pretending to ask for advice. A lot of my friends and acquaintances do that, and I know how to handle it, but myself, I just can't do that.