Was he maybe jealous for seeing photos of my ex? Was I wrong to show him?

So I am dating this guy for 4 months now and yesterday he showed me photos of his two ex gfs. Later on I sent him photo of my ex as I could not find it right away, he made some comment how we sit as strangers and he changed into such a nervous person.

I asked him something about work and he attacked me that I am checking on him and how I don’t trust him etc. He full blown overreacted…. Later on he said he was nervous but keeps saying nothing to do with photos. Which I doubt. Was I wrong to show him?
Was he maybe jealous for seeing photos of my ex? Was I wrong to show him?
Post Opinion