This small part is so expensive mainly because of the precious metals used to make it. Catalytic converters contain materials such as platinum, palladium, or rhodium. The more expensive the metal, the more it is to replace.
You may be wondering why manufacturers don’t use something cheaper to make the part. But the converter is made using these specific metals because of the chemical reactions they create to help keep your car’s exhaust clean.