I get a lot more mileage out of "have you tried..." than "why don't you just...". As a recent example, I wrote a system that auto-generates PDF packing slips from an order form, to send to a warehouse for picking and packing. Yesterday a client told me to "just make it landscape" while I was explaining why "just making it landscape" won't solve the problem of giving the warehouse whitespace to pencil stuff in, becaus…
Marriage has taught me to go even further than that. I now ask "are you telling me to get it off your chest, or you want help solving it?". If the former, I don't offer any solutions whatsoever, in any kind of format.
I may be much slower to adapt. My wife of (almost) 30 years usually starts with explicit “I am telling you this to just get it off my chest”.