Palm Springs was a refuge for theoretically closeted gay actors and others who worked in entertainment. It was a place that provided privacy, yet was also close enough to drive back to work. Having a pool in an enclosed back yard made it even simpler to avoid prying eyes (or cameras). And yet with celebrity came a level of visibility, so people who had the money would gravitate there too. And as a bonus, the mid-century modern style homes and furnishings gave a coherent look and feel to the place, where most of the time the weather fits the lifestyle.
Here's a more fact-filled explanation:
https://www.out.com/travel-nightlife/city-guides/palm-springs/2013/02/11/palm-springs-gay-history-revealed
And of course there a documentaries from Hollywood's golden age (check Netflix and HBO).
https://en.wikipedia.org/wiki/Tab_Hunter_Confidential
https://en.wikipedia.org/wiki/Scotty_and_the_Secret_History_of_Hollywood
I haven't seen Celluloid Closet for a long time, but that might be one to watch too.
Palm Springs is more of a queer resort than ever, these days, hosting special interest events, with a business environment that welcomes clothing optional venues.