From Arabic ثُوم (ṯūm). The underlying form in Maltese as well as some Arabic dialects is ثَوْم (ṯawm).
tewm m (collective, singulative tewma, plural twiem, paucal tewmiet)