Sometimes you obtain items you may want later, or may want to give to some future officer/companion for either skill enhancements, or weapons. It might become too heavy a load to carry them all, so you could store such things in your ship. Of course if your ship sinks, and you are lucky enough to wash ashore, then it would be lost...but then there is also the option to bury it somewhere.