When the enchanted creature becomes tapped or is dealt damage, Cryoshatter’s last ability triggers. That creature will be destroyed when the ability resolves, even if Cryoshatter has left the battlefield or is somehow enchanting a different creature by then.