Why are black olives sold in cans, but green ones sold in glass jars?

Trader Joe’s has Kalamata olives in both cans and jars.

Muffaletta comes in a jar.

And, uh, that’s it.