Was this guy mad at me?

I have been on a few dates with this guy I met 8 months ago. He asked me where I was going and I told him to get earphonesI met a male friend and he saw us walking together. After that, he became cold and distant towards me. He wouldn't say hello, gave very forced smiles and wouldn't talk to me on his own until it became awkward as I was standing there and he wasn't saying anything. Was he jealous? He is a distrusting guy and does have trust issues
Was this guy mad at me?
Post Opinion