Derretir (Spanish for “to melt”) comes from the Latin terere, “to rub, wear down.” That which is melted is worn down, after all.

Some interesting words we get from the same root in English include:

We can see the r‑t root in all these variations.