The layoffs at both proptech companies come as the housing market starts to cool while high mortgage rates and inflation of about 6% dominate.