Top phonetic
合 — supplies the sound (hé → kān, a regular shift in the Old Chinese phonetic series). Carries a soft semantic flavour too:
合 pictures a lidded container, and a
龛 is essentially a small enclosed box for an image. The same phonetic anchors
盒 (box),
拾 (pick up).