before vowels meg-, word-forming element often meaning "large, great," but in physics a precise measurement to denote the unit taken a million times (megaton, megawatt, etc.), from Greek megas "great, large, vast, big, high, tall; mighty, important" (fem. megale), from PIE root *meg- "great." Mega began to be used alone as an adjective by 1982.
"measure of weight," late 14c. The quantity necessary to fill a tun or cask of wine, thus identical to tun (q.v.). The spelling difference became firmly established 18c. Ton of bricks in the colloquial figurative sense of what you come down on someone like is from 1884.
<a href="https://www.etymonline.com/word/megaton">Etymology of megaton by etymonline</a>
Harper, D. (n.d.). Etymology of megaton. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/megaton