Dubai is an absolute anomaly. I know it relatively well from a professional corporate perspective, as a tourist as well as previously interested in real estate investment opportunities there.
In answer to the original poster's question it is simply a multiple dimension world. The locals are literally in another shielded and highly controlled world (especially women and girls) from the international crowd. The two polar cultural and behaviour opposites don't mix but live side by side. Not saying this is right but it is just how it is.
In short there are many sides to this fascinating place. It's recent historical transformation is one the most significant built environment in recent decades outside of China and the Far East.
I can dive deeper into some of the many issues and nuances but these have been very well documented in western media as I refer you (if interested to learn more) to an article published in recent years which still holds true today. See link:
www.independent.co.uk/voices/commentators/johann-hari/dark-side-dubai-1664368.html
My feelings are mixed towards Dubai. Yes it is spectacular with many world records for show pieces like the buildings and man made everything including islands of course with a planned even taller structure to follow (possibly)?
It is a unique mix whereby the local Emirati is only a small minority but they rule absolutely and essentially import international staff for everything as well as leading experts to do the cutting edge stuff.
The latest transformation from a former discerning super luxury holiday destination (hence the seven star flagship hotel complex etc) to cheap low cost low budget rent a crowd larger louts is a bit of a surprise. Nothing wrong with that per se as each to their own as one must be mindful of diversity and a choice of options to cater for all. Dubai is also a stop over short break destination connecting many continents given its role a global aviation hub.
What is an alarming contrast is how the international bikini cocktail crowd can be moments away from the very religious and conservative locals with their traditional religious requirements. That is the bit that I found most astonishing. Females obviously have two very different expectations and requirements between local and international expats or tourists etc. I cannot really understand how the two can blend but then again it is just business as religious requirements and cultural grounding applies only to the original inhabitants. Being a strict religious nation do make sure you meet all your financial debt obligations and stay solvent!
It's worth a visit but also good to understand what's behind the story showcased and who helped to build it and make it what it is financed originally with the assistance of neighbouring Abu Dhabi oil money and run by many expat specialists under the authority of the locals.
It will try to evolve to reinvent itself and make sure (finances permitting) to continue being an international business and technology showcase but with bits like the requirements and lifestyle choices for local females off limits subject to their particular rules and expectations.