Magick optimization is returning a warning:
'magick: UnableToOpenConfigureFile `colors.xml' @ warning/configure.c/GetConfigureOptions/722.'

Instead of deleting the processed image, it renames the file extension to png:
1772842900_gigante_sonriente.gif ➡️ 1772842900_gigante_sonriente.png