From the above link, "In France, the dish is often made without pitting the cherries because the pits are thought to enhance the flavor of the batter with a perfume faintly reminiscent of almonds."
Cherry pits have a small amount of cyanide in them, which has an aroma faintly reminiscent of almonds...