It is common for words like these to be derived from similar sounding words/phrases.
It seemed magical when maladies were cured, and from tiens, bois derived the word quimbois, for magic potion or spell.