If it was contaminated, it could become explosive more easily - it could be enough to get it going.
If the warehouse wasn't climate controlled, a higher temperature would make it easier to detonate.
If it is indeed ammonium nitrate.
It's a strong oxidizer and these chemicals can be nasty...