Where TGZ comes from
TAR dates to 1979 and Gzip to 1992, and piping one into the other became the standard way to ship a directory on Unix almost immediately. The .tgz spelling was forced by DOS's 8.3 filenames, where `source.tar.gz` truncated to something unusable. Long filenames arrived thirty years ago and the abbreviation outlived the constraint: package managers, language toolchains and release pages still publish .tgz, npm most visibly — every package on the registry is one.