How coal gangue spontaneously ignites