It comes from when a ship captain calls for “All hands on deck.” Everyone onboard must report to the deck to listen and receive instruction.