Officials have said improperly stored explosives at a mining site ignited, damaging nearby buildings including a school. An investigation is ongoing.