Scaffoldings in New York

I’m currently visiting New York and noticed that most buildings have scaffolding that you can walk underneath (e.g. the Empire State Building).

I was wondering if this;

  1. Because of construction
  2. To protect people from objects that might fall down

Example: enter image description here