What exactly is the source of trouble for this building? Was it to code and just bad luck, or did they screw up along the way?
1) it has a floating foundation (in sand, not to bedrock), unique for this size of building in SF.
I talked to an architect once, and he acted like this would be ok. Guess not.
2) workers on the nearby tunnel "dewatered" the soil near the building. Changing the moisture level changes the resistance of the sand to weight.
Note that in an earthquake zone, soil "liquefacts" and settles, forcing water up, so it's terrifying that a large building rests on that. The building could literally plunge into the ground, or fall over during a liquefaction event.
See the videos from Kobe - waterfalls appear on top of the ground in liquefaction areas.