It depends how you did the change over of substrate, by removing it a lot of trapped stuff probably went into your water column and spiked nitrate, adding new substrate would have started a mini cycle so probably a small spike in ammonia.
So if everything was well before the change then the change of substrate is probably to blame
|