Actually, it's not about how to behave, but about accepting that people might have reasons to stay quiet, and it's not about you and them. People don't shut down to hurt you - sometimes they just need time to figure things out on their own, or they're afraid the problem sounds stupid, or they're too embarrassed to ask for help. And that's okay, even in close relationships.
The best thing you can do is let them know you're there, but don't push. Say something like: "I've noticed something's off. I'm here if you want to talk" - and leave it at that. Don't give advice, don't interrogate them. Just be normal, like you always are, keep spending time together. Sometimes people need to feel like they're not being judged before they're ready to open up.
And here's the thing: don't take the silence personally. It doesn't mean you don't matter to them or they don't value the friendship. He's just in a place right now where he can't share. Maybe he'll tell you someday, maybe he won't. Your calm presence is already helping.