Probably skimming the till.
They return a previous customer’s transaction a refund to gift card, then take your cash and pocket it. There’s a ton of grifts like that.