"Compress item" inside Time Machine backup
Why does this happen?


Because the Time Machine backup is read-only. 

This behavior isn't specific to Time Machine; the same thing will happen if you try to compress an item that's in a read-only area of your hard disk (like /System), or an item on a read-only disk or network volume.