Easy: Don’t talk to people about things you aren’t interested in. Find something you can be curious about together.
We should probably distinguish conversations that are about just something in general, and examples in the post, which are about potentially crucial/difficult challenges a person is having.
I may not be particularly interested in a problematic situation that someone may be having at work, but I know that by listening and showing genuine curiosity, I may be able to help them in their own understandin and reaching a potential positive outcome.