Not saying this is what happened in this case, but looking back at my retail days, the cashier may have already got the change and shut the till and didn't want to have it re-opened to give a dollar back instead.
Cashiers are normally not authorized to open the till outside of a transaction to...