There can be various reasons, from not using the right ingredients, to not using the right amount of ingredients to not steaming the batter immediately after adding the eno. For best results, follow the ingredient amounts mentioned in the recipe and your dhokla should come out soft and spongy.