Answer: Because there is no motion.
Step-by-step explanation:
If a glass is lying on a table, it is not physically moving. Since it is not moving, there is no friction. Friction is "resistance one surface or object encounters when moving over another" (Oxford Languages).