Uncertain; compare obsolete French tamise (but if there was borrowing, it is unclear in which direction).
Practice speaking and memorizing "tammy" and many other words and sentences in English.