I titled this about the nesting, but with Spoonbills I am never completely sure. Even the full adults pull / push sticks then suddenly lose all interest.

So, there was a partial nest, maybe from last year. He also may just have been bored and needed something to do.
Roseate Spoonbill.