Manufacturers often use a special coating to aid in keeping gummies smooth. For homemade recipes, it is important to make sure the water/sugar/gelatin ratios are correct. Also, storing them in an air-tight container.