It appeared to put its head against the tree, kept it there, then swiped its wings, face, rubbed its face, put it back on tree - perhaps ants?