Central banks generally attempt to adjust interest rates when the inflation rate doesn't meet its target. When the inflation rate is high, this adjustment aims to reduce aggregate demand, which can be achieved prominently through the banking sector.
The higher mortgage rates deter households from taking mortgages and therefore buying houses. The lower demand may contribute to lower inflationary pressure through multiple channels, for example, lower housing investments. It remains uncertain how high mortgage rates will go.