variant of 櫃|柜[gui4]
Phonosemantic compound. 木 represents the meaning and 巨 represents the sound. Simplified form of 櫃.
《說文》:“柜,木也。从木,巨聲。”