The first boil helps to remove some of the potent flavor, so the final crystallized ginger isn’t overwhelmingly strong/spicy. It also helps to tenderize the ginger, which is initially quite tough.