it's more that bricks have to follow the laws of physics. A building with bricks that don't have the quality required will collapse, and the builders will be found guilty.
Software doesn't fail so dramatically - small annoyances, for example, is easily dismissed. Even if there are many of them.
Come on man, how can you be so stupid so as to forget something like that?
This stuff is easy, just look over the code- I mean blueprints before commi- I mean building and you'll be fine. Everyone knows you're supposed to put the weep holes in, so make sure to do that.
Oh, there are plenty of them. Substandard bricks, substandard mortar, inadequate foundation prep, walls not being straight and plumb, etc.
It's just that brick construction is both easy to inspect and well known how to do it.