Second, the mold itself is made of a very hard steel, though there are cheaper "soft tooling" materials for making lower quantities before the tool is worn out. The special steel may require special machining processes. The tool also has a variety of moving parts such as ejector pins and other mechanisms if the part is not shaped to be ejected cleanly.
If the mold comes from low-cost supplier, there's the added cost of reworking it in order to iron out minor problems. I spoke to one tool-and-die machinist who told me most of his income came from repairing cheap molds.
If you save on the mold, you often pay more for the pieces due to scrappage, difficulties setting up the molding machine, or the short lifespan of the mold.
Right now I work in a business that makes expensive high-tech equipment, so we can afford to eat the cost of making expensive parts from expensive molds.
For prototype quantities, we tend to prefer things like folded sheet metal, CNC, and even small aluminum castings with secondary machining processes. In that milieu, the cost of 3d printing is actually quite competitive. I just got some pieces costing about 1000 bucks each, but they were delivered to my doorstep a few days after being designed.
Also: Something I've learned is that everything I know might be wrong tomorrow. Every manufacturing process is being steadily improved, and a process that you wrote off as being too expensive might have suddenly become cheap for reasons you're not aware of. Always ask.