Apparently scratching himself where his bill can't reach for preening purposes. Compare similar behavior by female at https://pbase.com/image/162442285 .