Why is this?:

When I weld at night school And at my shop on welding the tables, I sometimes get a slight zap while resting my Protected arm on the table. It doesn't happen everytime but I'm just wondering Why it happens and How do I prevent it?