Where DEB comes from
Debian's first packages in 1993 used a bespoke layout produced by Ian Murdock's early tooling. The ar-based structure arrived with dpkg 0.93.76 in 1995 and has not broken compatibility since, which is why a current dpkg still opens packages built decades ago. The inner archives moved from gzip to xz as compression improved, and zstd followed for faster installs.