a bear is rubbing up against a tree
A dog is scratching his back against the tree.
a bear has its mouth open and is stractighing its back on the tree 
a dog stretched out on the side of a tree
A black bear leaning up against a wooden tree.