It is not very likely you got clam eating snails off of SPS from Canada corals recently and the snails already killed the clam. For those snails to kill a clam they have to be in larger numbers or over a few weeks. Plus they would probably not be on SPS. Pyramidellid snails have a mouth called a proboscis to puncture the soft tissue on clams and suck the Zooxanthellae out of the mantle and over time the clam starves and dies. They don't normally kill quickly unless they covered it completely or it was already weakened. Pyramidellid snails are not all that common but they do occur. If it was snails they were probably already in your tank and it finally succumbed to them over time.
It is also not very likely the Polyshete worms like a bristle worm killed the clam as the kinds in your tank typically eat dead and decaying food. The Polyshete would however come over after the clam is dead to clean it up so it would look like it killed it. I keep my clam on the substrate over the years and have hundreds of bristle worms in my tank with no issue.
Green boring algae in the clam shell that bores throughout the shell and it releases hormones that cause the clam mantle to peel back is a possibility. The boring algae don't always cause death to the clam but it can open up the clam to bacteria or protozoan infection that kills the clam. Do you see a green tinge to the shell on the inside of the shell with little holes on the outside?
Any tank parameter swings? Like PH, DKH, salinity ect? That can kill a clam. What type of fish do you have? Some fish will kill a clam all of a sudden one day after being a model tank mate. Crabs? They will kill them to for food.