Something like that was lying in wait underground waiting to "bakun" if something passed by.
It's a kind of instant death trap.
Although, if you dodge the first attack putting an end to it is not hard.
If you put the sandworm underground in a "mixer" with earth magic, they will instantly die without even a death shriek.
The bodily fluids collect into a puddle above ground.
It's a bit gross.