Original: This habit of raiding graves caused the villagers of Komodo to move their graves from sandy to clay ground and pile rocks on top of them to deter the lizards.
Simplified: As a result, the villagers of Komodo moved their graves from sandy to clay ground and piled rocks on top of graves to prevent the lizards from digging them up.