Diamond on the beach

How do they get in such weird shapes? I figure this bit of ice contained sand or other impurities, and melted around that first.

   14 May 2019
   Iceland
   
a bit of ice on black sand