Some are horrified by such an scene, but for some it does not cause the slightest concern.
If you are shocked by such a "disgrace", then this topic is for you.
✅ Offer a different option. Get your cat a tall play complex with sunbeds and hammocks and set it by the window and so that the whole room is visible and encourage the cat to be there.
✅Always, absolutely always, drive your cat off the table. Not from time to time, always.
✅One more powerful tool to put in your favor will be an ordinary spray bottle with water. Put it on the table and as soon as you catch your pet on the table, spray it. This works better than any words, and this will make it clear to your cat that you are very unhappy with its actions.