Data released Tuesday shows the housing market weakening sharply, squeezed by rising mortgage rates and elevated home prices.