@Libraswan,
Sorry you got some grief. Relationships, with exes in the periphery, can be touchy...even when there's no regrets and bad breakups.
I'm guessing here but perhaps he felt that you were fishing around for a response. Maybe he felt that you were being invasive. However, he shouldn't have blown up at you and said you're being immature. That was an over-reaction. On the other hand, you were over-stepping your bounds. You were better off just mentioning only that you saw someone you think was his ex. After all, you trust him, right? If there was something to tell you, he would have done so.