There are several possible causes. In some cases, the surface of the prepared gelatin was exposed to air for too long. (The dish should be kept covered). Sometimes the cause is age - so serve the dish the day you make it. At other times, the cook used too high a proportion of gelatin powder to liquid.
** Asian Recipes