If Prop 13 was the problem, it would have affected all of California vs. only SF. Why is LA, San Diego and Sacramento relatively so affordable vs. SF?
The issue with SF is amazingly complicated zoning laws which prevents building up and the NIMBYism which continue to support it.