Maple fudge turns grainy due to the sugar crystals forming in it. This is due to the fudge being refrigerated before it reaches room temperature or from overmixing.