How do you burn ice or make it flammable? Science!
When the ice melts, the water reacts with the calcium carbide (place on the bottom, pause the video at the start) to produce acetylene gas and calcium hydroxide. The acetylene gas then explodes into flames when a match is place on top. It will continue to burn even as the ice melts because it keeps producing acetylene until the calcium carbide runs out.