Historically you would pay with cash for your food and sometimes counting change would be awkward so you just round up.

tipping isnt giving someone your spare change is it lol