The information “washed ashore after our ship went down” gives readers that best helps define the underlined word is:
It is related to a shipwreck.
This context indicates that the flotsam refers to debris or materials that came from a ship that has sunk, which is directly tied to the concept of a shipwreck.