Engines had to be totally rebuilt after each flight. SRBs cost around $70M each IIRC. The tank was extremely expensive because it had to be as light as possible, while keeping Hydrogen super chilled without leaking. They came out with lighter tanks later in program made out of more exotic materials.