You might have either overbaked the cake or you added too much flour and the dry ingredients overtook the wet ingredients in the batter.