Japanese mythology has its own rendition on this theme ... Another common theme in mythology is human-animal marriage involving supernatural beings, who upon discovery revert to their true forms.
Those round shells and long legs give Japanese spider crabs an arachnid-like look, hence their common name. These animals also have spines behind and in front of their short eye stalks.