The Torys know Sunak will raise interest rates , which will be a vote loser, Truss will drop interest rates a vote winner, despite it overall raising inflation
The Bank of England's Monetary Policy Committee decide interest rates, not government. Government set a 'target inflation rate' of 2% which the Bank of England is meant to try to hit.
When the Bank of England Increases the interest rate, that usually eventually reduces inflation. It works by reducing how much money people have to buy things, which can be useful to curb over-confident, excessive spending. However during a cost-of-living crisis, it obviously risks really hurting people who can no longer afford even necessities. It also makes it harder for companies to invest (which they do in order to produce more long term) which shrinks the economy, leaving even less money in tax revenues for the government to spend on hospitals, schools, unemployment etc. So it's quite a balancing act.
Did you mean that Sunak will raise tax and Liz Truss will drop it? I posted above how I don't believe that will directly lead to inflation. It does risk us having to either print money (which does cause inflation) or borrow money (which costs lots long term) if we want to keep the same level of social spending. Cutting services is the other option, but nobody wants to do that.
The only 'get out of jail free' card in this situation is for the economy to grow because if companies produce more, then the same % tax of a bigger amount of profit is a bigger total amount which the government can spend on hospitals, schools, unemployment etc.
That's why taxing companies is also a balancing act - if you tax companies too much, it discourages investment and the company will produce less. So the tax revenue is a bigger % of a smaller profit, which ends up being less money. (The smaller company is also provides fewer jobs. )
That's why most of the candidates are suggesting lowering taxes on companies as well - to try to encourage investment in companies (who are also hit by rising prices and customers having less money - so profits already down). Again, this is nothing to do with inflation, and just about how to get more money into the government, which can then be spent on schools, hospitals, unemployment benefit etc.