When we care about someone, or even when we hear someone struggling we have an innate built in response to try and help that person. I call this
"fixing" behavior, and unfortunately it comes across as "unsolicited advice." In many cases, it may in fact be better, to just listen, and empathize. Being a moral support may just be what your friend wants. Read more
here.