Why is liquid potassium chlorate so explosive with gummi bears?

Potassium chlorate contains oxygen atoms. These allow the sugar in the Gummi Bear to burn.