The bug
Sulfur cubes aren’t allowed to absorb blocks dropped in item form on the ground if the mob_griefing gamerule is disabled. However, they will still pathfind towards such items, and hop in place in a small circle forever attempting to pick it up.
How to reproduce
Spawn a sulfur cube
/gamerule mob_griefing falseDrop an oak log on the ground near it
Make sure you’re not holding a block in your hand
Expected result
The sulfur cube should hop around randomly
Observed result
It hops towards the item and hops in a circle trying to pick it up
Can confirm.