The reason behind your cake not rising properly or its dough becoming hard is that your baking powder may be expired or you may not be adding the adequate amount of it, due to which the cake will rise quickly and collapse down. Leaving the dough thick and unpleasant in taste.