Minecraft wiki entry for Fire, associated text: If a mob able to drop meat dies while on fire, it drops the cooked version of it, with the exception of fish that is dropped by polar bears‌[JE only] or guardians. This also applies to the zombie's uncommon potato drop; if a zombie dies while on fire and should drop a potato, it becomes a baked potato.‌[JE only]