What happens to equities when interest rates rise?

So far, the year 2022 has brought significant price losses on the stock markets. Inflation and rising interest rates are often cited as the reason. But why is that the case?