Crab on the deck

A remnant of a curious creature not more than an inch-and-a-half wide appeared on the dock this weekend. A small crab that was deceased (or perhaps frozen)? How did it get here? The decking is three to seven feet above the water’s surface, depending on the tide. It was thirty feet from the shoreline access to the dock.