Why were the ships called ironclads?

Because over their wooden hull the builders had applied a coating of iron, which clad them completely even under the water line, so they had been actually clad with iron: "Ironclad".