Where does “ความเหลื่อม” come from?

ความเหลื่อม (Thai) comes from Thai ความ, from Proto-Tai ɣwaːmᴬ — matter.

Ancestry of “ความเหลื่อม”, step by step

ความเหลื่อม traces back through two separate lines of ancestry.

via Thai ความ

StepLanguageWordMeaning
1Thaiความaffair; matter; content; essence; subject;...
2Proto-Taiɣwaːmᴬmatter

via Thai เหลื่อม

StepLanguageWordMeaning
1Thaiเหลื่อมoverlapping; overlying; imbricating; projecting
Every word from Proto-Tai ɣwaːmᴬEvery word from Thai ความ
ความเหลื่อม — Etymology, Origin & Word History | Etymology Explorer