Am I the only not understanding why Earth Elemental is vulnerable to Thunder?

I mean...
A) Earth seems to give two body-processed foods about thunder IRL (same for sonic waves)

And more importantly:
B) have these guys never played Pokémon?