How do I solve this problem with a male friend?

I haven't seen my best guy friend in 10 years. We met as kids and remained in touch after our families moved. Now we're 27 and 30. Recently I asked him to visit, but he won't talk about it. I offered to fly to him and he dodged that too. He's also being weird about "us." He told me he thinks about what it would be like to be a couple, and has been flirting with me for months. But when I tell him I have feelings for him too, he gets angry and shuts down. No, he's not attached, in fact, he's never had a relationship. So I don't know why he's being this way. I've tried talking to him, but if I say the "wrong" thing, he'll ignore me for days. Idk if I should bother anymore....