It's possible they developed some sort of chemical or heat smelting techniques that worked under water. They may have also been clever enough to figure out that you need oxygen and other things in gas form, so instead of water tanks, they built air tanks designed to create a non liquid production ar...