Inflation can have a negative effect on stocks because the rising interest rates that accompany inflation increase the borrowing costs for businesses and consumers. Higher interest rates can also make stock dividends less attractive to investors, further pressuring stock prices.