Simply put, the stock market goes up as the economy grows. When the economy grows, corporate profits grow. When corporate profits grow, so do stock prices.
Momentum investing is a strategy seeking to capitalize on existing trends in the stock market. In a way, it is similar to Newton’s Law “that a body in motion tends to remain in motion”.