It could be an inflation hedge. You buy a house at a fixed rate, you pay your $5K/mo mortgage for 30 years. Meanwhile inflation makes this $5K less and less in real value. But you can rent it out for more and more.
in other words, shorting the dollar. it's the same reason you buy just about any asset that's not bonds or cash AKA real assets. People know, it's only a matter of time before the feds default on the value of the dollar.
i mean by having inflation run hot at 5-10% for many years or decades, they're defaulting on their obligation to provide a stable value currency for the people.