"Turn the other cheek" Christians are implored. Whatever you do, don't fight back when you are assaulted by a fellow human. Forgive them and move on - whether you're still standing or not, of course!
But the same doesn't apply to trees. If a tree doesn't bear fruit, cut it down and burn it.
Is this as inconsistent as it seems? It is hard to say, but perhaps the implication is that the tree is diseased and it should be treated in this way in order to prevent the disease spreading.
Or is there another explanation?
I long since stopped expecting the bible to be self-consistent though.