It originated from the large water barrels, called "scuttlebutts," that were placed on ships for drinking water. Sailors would gather around these barrels to chat and share news, which often turned into rumors and gossip.
So, "scuttlebutt" came to represent the informal, often unreliable information that spread among sailors.