this isn't to start an issue or anything, its to help on future prevention: reefs control their ammonia just fine
ammonia events never, ever precede a fish loss or coral loss, it comes after if ever at all and it takes you leaving the fish in the system to rot to drive it out of control.
that being said, very harmful compounds exist in the sand that aren't ammonia, so, we should clean up your sandbed before round 2. rule out ammonia here, I'm aware your test kit said there was some, ammonia doesnt run zero in a reef is why it said there was some. If you had seneye, the ammonia would never be in factor, that's solely an issue for non digital testing.
you did not have an ammonia crash, 100% sure. there's no where its being stored up for a release in a reef tank. we used to think it was in the sand, its not, that's mixed bacterial compounds tbd and or simple fish disease wipeout triggered by skipping qt and fallow. I have other examples like your tank where sand disturbance killed the setup if it helps any in troubleshooting.
threads exist where 200+ reefs are taken apart and moved homes, all in one thread. the ultimate rock rearrangement. the only difference between those outcomes and yours was the clean sand part, we never moved around rocks over a dirty sandbed. if you are truly interested in preventing the issue, you'd do a rip clean and make sure there isn't any clouding in the sandbed, then fallow the system and qt your next round of fish. that brings you up to date 100% with today's top science, directly from prevention threads that study and prevent this issue 100%.
why did your ammonia seem to spike: common metabolites and derivatives not actual ammonia which spike non digital test kits + reading those kits as nh4 and not nh3, which is never zero in reefing. with seneye, ammonia would be instantly ruled out here (a digital nh3 meter)