Because butter and egg whites contain a good amount of water.And yet it dissolves into hot butter when butter when cooking or baking and will dissolve into egg whites when whipped into merengue (hence the instruction to whip until sugar dissolves) so it's not gritty