The gulab jamuns may turn hard or dry due to the following reasons, less moisture, incorrect measurement of ingredients(especially flour and baking soda).