Let's be technically accurate. They put a data center in Utah, and a matching data center in San Antonio that most people forget about, because those are nearly ideal places to locate data centers that are survivable and efficient for their purposes. That it is in desert is only somewhat related.
Unlike the NSA headquarters location, the data center sites are in locales with low exposure to geological and other risks, both sites sit on major fiber aggregation points, and power is inexpensive. Frankly, it makes pragmatic sense to put them there.
It isn't that different than Facebook putting a huge data center in the Oregon high desert. It may be far from civilization but from a data center economics standpoint it makes perfect sense. One of the curiosities of the western high deserts is that there are several industries where that environment is conducive to efficient and economical facilities. Data centers are one of those use cases.
Criticism of use cases aside, I would hope that the government would build sensible and economically efficient data centers. If I was building a massive scale data center, I would probably locate similarly.