As inflation rises, mortgage rates tend to increase due to broader economic policy responses and market behavior. The Fed raises rates to fight inflation and lowers them when inflation and economic growth slow.