Not only do they share an etymology (the word "tariff" in English and "tarif" in German both come from the same Arabic word), they also mean the exact same thing. It's also used in a bunch of other European languages in essentially the same way, with either a similar or identical spelling.
It's only US English where some of the meanings that are still common elsewhere are no longer used. It's actually kind of amusing that Americans would struggle to understand the meaning of an English word, but a French or Italian speaker would understand it. I wonder if there are any other words like this.