Crystal comes through French and Latin from Greek krystallos. The early word connected ice with transparent quartz. The modern spelling restores a visibly classical y, showing why the oldest-looking spelling is not necessarily the oldest English form.
These are selected stages, not every spelling or intermediary. The story identifies omitted links; older forms did not all disappear at once.