In general, the names of elements come from Greek or Roman orgins. A lot of the names are just Greek words used to describe the properties of a particular element, for example Argon, comes form the greek work Argos, which means inactive.
Other elements such as He, Se, Hg, are named after Greek or Roman mythology.
Or elements may just be named after the places they were discovered, such as Europium, Polonium, and Berkium.
Lastly they can be named after the scientists who discovered them, such as Einsteinium for Albert Einstein