This TIFF Technical Note has some comments on ZIP compression in the TIFF file format:
Deflate is a byte-oriented compression scheme which can be applied to
a TIFF image regardless of its Photometric Interpretation, Planar
Configuration, or image data organization (strips or tiles). Each
strip or tile (we will use the term image segment to refer to either)
is compressed independently, and stored as a complete zlib data
stream.
Note the last part, "compressed independently". I suppose the data in your test files is stored in strips or tiles and for an external Deflate tool like 7-Zip that doesn't know about the strip/tile structure, the "scrambled" data will compress less efficient as for the internal Deflate in TIFF that can reorganize the data and compress strips/tiles independently.
To understand this, look at the following analogous example: If you had an image with 24 bit color depth, you can store the data by concatenating RGB triples for each pixel. So without knowledge about the structure of this data, you'll have to compress data in the format RGBRGBRGB... but if you know about the structure, you can transform the data to 3 seperate streams RRR..., GGG..., BBB... that most likely will compress better.