The shell can withstand any attack. However, when it is open, the tender body is exposed.
The sand that accumulates inside its shell eventually becomes a pearl. But the pearl gets in the way, so it spits it out and discards it.