In the past, humans with four legs were enclosed in a cage and shown in a circus.
Breakdown of four
The enclosure component looks the same as the mouth kanji. Unlike mouth, this component is not a kanji by itself. When the enclosure component is used inside a kanji, another component is enclosed within it.