There are two possible reasons. Firstly, the chickpeas may have been moist when you roasted them. You should make sure you dry them thoroughly before baking them in the oven. It could also be because you haven't baked them for long enough. It takes 20-30 minutes to roast the chickpeas. Make sure their shells have hardened before you remove them from the oven.