This can happen if too much coconut flour is used, as it absorbs a lot of moisture. Make sure to measure the flour accurately, and don't skip the eggs or butter, as these ingredients add moisture and richness to the dough.