This is fascinating and disgusting. Apparently, these clams (which have MOUTHS) dig themselves into sand. This one did and spewed out what could either be more sand or poop. I don't know.
Ain't that life, though? You dig and dig and dig and only end up yakking up something gross.