Because rusting make the steel's structural strength became weak.
In construction, we use steel as a foundation that hold the building's structure. If we don't guard against the rusting of steel, we will expose the building to a very high potential risk of collapse