Oil of gladness
Here’s what it means
Joy, honor, celebration, and divine favor are pictured as fragrant anointing oil.
Why the Bible says it this way
The writer uses a picture to explain one thing by describing it as another.
A helpful detail: Anointing with oil was a real practice associated with welcome, festivity, and office; the phrase carries that joyful force.