Neither. I wouldn't really call this an error on Tesla's part, they adjusted pricing based on demand. I don't believe they owed anyone anything but I think it was certainly the right business move to offer the refund.
This happens all the time in the dealership model. Prices can change...