The average rate on a 30-year mortgage in the United States hit 6.38 percent, the fourth increase since the war began.