>>72727362It's marketing. They go up when people know about them and think they're valuable, or if a whale investor repeatedly buys from himself to give the illusion of public interest. The dollar gradually loses value while the stock market as a whole tends to slowly go up in value, so it's also a way to store your money. If your knowledge in a particular field greatly exceeds the public's, you can predict that a company will increase in value over the next few years and multiply your investment.
Typically, the more you understand about the stock market, the worse you will perform as you mistakenly make "the right calls" based on "the facts." Therefore, many people just 1:1 copy the movements of known successful investors and corrupt politicians (who are likely insider trading). Statistically, due to the nature of the market growing on average over time, you can make money (or at least save money) but removing the human element and picking stocks at complete random.
Investing based on chart movements alone is a popular form of pseudoscience and can best be described as gambling.