You would set a cup on a table because you were planning to have a drink.