When I lived in such a building every apartment had window access to the fire escape, you wouldn’t need to go through anyone else’s apartment to get to it. Meanwhile, the interior hallway was just that: interior. There was no way to give that hallway access to the building exterior without punching through one of the apartments.