Why it happens
Chocolate is mostly fine sugar and cocoa particles suspended in cocoa butter. A small splash of water or steam makes the sugar turn sticky and clump together, so the chocolate seizes. Overheating can cause the same thick, grainy texture.