table: a raised surface where food and drink are set out for a meal
At its core this word names a piece of furniture, the table on which food is placed and around which people eat. Everything else it does in the Bible grows out of that one plain idea, because in the ancient world a meal at a shared table carried far more weight than just eating.
Who owns the table colors what it means. An ordinary household has one; a king has one, and to be given a seat at it is to be taken into his care, fellowship, and protection. The sanctuary has one too, the table that holds the bread set out before God, so that the word becomes a fixture of worship and even, in the prophets, a name for the altar itself as the LORD's table.
The same image then turns figurative. To spread a table for someone is to provide for them and welcome them; to have your table turned against you is to have your own security become a trap. These are not different words but the one table seen in the home, the palace, the sanctuary, and the poet's picture of God's care.