Acuity12, a global moderator, told me that GIF compression only applied to .gif files, not .mp4 files. Since the sole supported file format that has transparent backgrounds is .gif, then GIFs with transparent backgrounds are guaranteed to have the weird compression effects.