A private or selfish motive behind a request or action, something which is not obvious at first glance.
So Ahab had an axe to grind. And usually, that's the way the world does. They have an axe to grind.