It's legal, in most cases, to omit an egress window in bedrooms in high-rise buildings—but only because the building includes fire-safety features (for example, sprinklers, fire alarm systems, and egress stairways)
There's been a whole discussion of the code though as modern mid/high rises have - concrete, "fireproof" (in terms of adjacent unit to unit) construction
- sprinkler systems
- internal hallway leading to 2 stairways
All of which are lacking in wood frame homes which make up a higher amount of home fire deaths. So there has been an argument that you could build housing much cheaper if you could rely on the concrete & sprinklers, and could lighten the rules around multiple stairs / windows / etc.
Nah a whole bunch of jurisdictions made it so that with appropriate firewalls and other features there need be zero egress aside from the singular entrance/exit door.
Windows can be unopenable etc.,
It's literally because of hi rises and the issues with it being pointless to jump from 10+ stories (you'll also suffer less, as the smoke will make you pass out long before you're actually being burned).
https://www.greenbuildingadvisor.com/article/bedrooms-withou...