Achieving the right balance of crunchy and chewy in nonchocolate candy is tricky because of “moisture migration,” in which water moves between components and can affect the product’s quality, said Rich Hartel, a University of Wisconsin-Madison food scientist.