They don't have better opportunities to invest with this money and fear of currency depreciation, so the most convenient means of hedge is to buy houses.
Foreign currency depreciation is a result of economic depression in the country concerned.
A good rate of inflation in Egypt is considered to be 10 percent, and currency depreciation works as a massive punishment against savings and capital accumulation.