According to investopedia: how interest rates affect stock market,
"Higher interest rates tend to negatively affect earnings and stock prices (with the exception of the financial sector)."
However, according to analystprep: The value of an option:
If you know the risk-free interest rate is a known 5%, you would expect the stock price to increase by more than 5% on average.
In other words, if risk-free interest rate is higher, the stock price would be higher.
Do these two statements contradict each other? Does "risk-free interest rate" differ from "interest rate" in these two contexts?