The logic is that higher rates make it more expensive to borrow money, which reduces demand and slows the economy. When the economy slows, so does inflation.