There is a clown tradition of having coats with vast pockets capable of holding incredible amounts. You may remember Harpo Marx pulling ridiculous objects from his coat, or having hundreds of table knives falling from his sleeves. I remember the old Felix the cat who carried his “bag of tricks”. And it’s not too far from Inspector Gadget having exactly the tool he needs embedded in his body. It’s a form of magic. And magic is fun.
Here is a great example. Adolf Proper, the original Banana Man from vaudeville. He worked under the stage name A. Robins, and could draw an entire music shop from his coat.
Of course pulling rabbits out of hats is wonderful when it’s live. For animated characters the magic is clearly fake, so it needs to be clever or funny in some other way as well.