The words you listed tend to have well-understood meanings in numerous contexts aside from mathematics that are still related in some way to the software concept.
Some of those words are very likely non-mathematical words that were adopted and re-purposed by mathematicians. "Tree" is inspired by how the data structure's shape is very similar to that of trees (that is, the plants), for example.