Amazon takes a 70% commission on Kindle books priced above $9.99 or sold outside of selected countries (e.g., USA, UK, etc). They "only" take 35% for books sold in such countries AND priced below $9.99.
You may think that $22.79 is a magical number they pulled out of their asses. But multiply $22.79 * 30% and you get $6.84.
If they priced it $9.99, they'd get $9.99 * 65% which is $6.49. So less royalties for the publisher.
Now... at $9.99 the book would certainly sell more copies. However, if you consider all the copies sold outside of the selected territories will have 35% royalty regardless of how low the price is, and the fact that a $9.99 ebook cannibalize your $25-35 physical book sales, the option of pricing your Kindle $20+ no longer sounds crazy.
Some publishers outright opt out of this race (e.g., Pragmatic Programmers).
I love Amazon, but they are literally gouging authors and publishers. They should have a flat 30% rate, Apple-style, and let the market decide at what price they'll buy books. Alternatively, keep the flat rate and place a cap on the price of the e-books sold through the Kindle platform (e.g., $10 for fiction, $30 for non-fiction).