Paying for someone else

I was at QuikTrip today to get some coffee. I was making coffee about the same time as this lady but she finished making hers first. I got in line to pay and the cashier said that she already paid for me. I’m kind of taken aback by this. This never happens to me!