It is possible that you beat the cake batter too much, or you might have overcooked it.