Most likely it was not baked well, either because you have taken it out too soon, or maybe your oven under-heat. Bake them longer next time