There is some really interesting history here. When we started moving into the prairies after the civil war, we also invented the modern timber-frame house which was shipped via railroads.
We soon learned that a simple timber frame with paneling on both sides meant the whole house was a collection of chimneys, which meant any fire would very quickly overwhelm the entire house.
So we came up with some building codes which said that the timber frame needed more side-trusses to act as firebreaks.
Note that this applies mostly to single and duplex home owners.
Single family homeowners still don’t want to live in collapsing fire traps with railing short enough that their toddler can climb over. The building codes are also different for different building types. Not all hazards in a building will be obviously apparent to a layman.
There's a general expectation that if you own a house, even a single or duplex house, it's not going to fall apart and put lives at risk with a moderate storm or kitchen fire.
I'd agree with you that there is a lot of unnecessary and unproductive bureaucracy in the process, but I do not mind the status quo.