Maybe this applies more often when the one giving advice has more experience than the one receiving it, or when the person who is stuck has habituated a narrow perspective or some form of learned helplessness.
But I recoil at something I think I see more often, which is when several people stand around pointing out the obvious and congratulating each other on their fresh ideas and wondering what’s so hard for the guy who has lived the situation and would love to find a way forward if there were the right resources or the right change in policies or the right change in politics. The peanut gallery loses interest pretty quickly when faced with questions about the real constraints and it turns out their answers are not fresh at all.
But now we have someone who’s “marinating in the stuck,” surrounded by people who still agree with each other that they know how it should all be done but have now also been embarrassed.
It’s an ugly, toxic cycle that bottoms out at everyone constantly having their knowledge and competence questioned over things they know and can do, by people who don’t and can’t.
If someone is stuck, ask if you can help, sure. Ask what seems to be the trouble. Ask what has been tried so far. But maybe don’t lead with your advice.