Chill-gun

The Chill-guns were weapons invented by the Chiller and used by his Chill-bots, which had the ability to turn living creatures into frozen ice statues. When Sonic defeated the Chiller and convinced him to stop being a villain, the Chill-guns were presumably destroyed. All of those animals that had been forzen by the Chill-guns were melted and freed.