Not sure, but it’s dangerous at high temperature. Very stable at ambient temps.
I think in cases where AN explodes in bulk due to fire, some of the mass is decomposed and becomes dangerous, and when it reaches critical temp, it detonated and the whole lot of it goes.
Interesting that the mines are storing it in big silos that have to get really hot, they claimed unless it was mixed it is completely inert