If they are stuck on top of the post, them I’m baffled.
But if they were on the ground - I wonder if they are salt lick blocks for deer. The holes would form on the upward side of the cube, eroded by the rain, similar to penitentes ice formations in the Andes (although those are formed by arid/cold weather)
Tim