1. It doesn't matter what your title is, how much expert education, training, or experience you have, or even what hard lessons that you have learned: you are not an "expert" in an area unless you are invited in as an "expert". Put another way, unsolicited advice is unwelcome.
2. Smart people want to solve their own problems. Don't offer solutions. No one will feel empowered or much of a sense of accomplishment implementing your solution. Instead tell them the challenges that they will face for various options and let them draw their own conclusions.
3. Your spouse just wants to vent, UNLESS they say "fix it" in which case they want you to fix it, where "fix" means "make it act like I want it to". Your spouse does not want to know how it works so that they can fix it themselves next time, and their mental model is wrong and they don't care to correct it. Just listen, figure out what they want and do it yourself, and do it again next time even though it interrupted you and they could have fixed it themself.