Answer: it's due to their composition.
Explanation:
different animals' shells are made of different compounds according to their requirements and survival needs.
like seashells are made of carbonate ion which provides them protection to protect their pearls or other sea creatures cant attack them.