heather i am so sorry to hear this! This is just awful, he was such a lovely beautiful budgie.
it most likely was not quartz, it was grit. its common for cheaper brands and store brands to use grit in their bird food mixes. they have not yet gotten the scientific fact that it is deadly for parrots of all kinds.
I would sue them, flat out.