They were called Coconut Octopus as in the early days of their discovery, they were found to using coconut shells as protection and as their 'home'. Subsequent to that, they have been documented to use other hard objects like in the photo, broken cups, glass, bottles and mostly shells of seashells for protection against their predators.
''Amphioctopus marginatus'', also known as the coconut octopus and veined octopus, is a medium-sized cephalopod belonging to the genus ''Amphioctopus''. It is found in tropical waters of the western Pacific Ocean. It commonly preys upon shrimp, crabs, and clams, and displays unusual behavior including bipedal walking and tool use .