Why do stock prices change

Is the change in stock prices mostly influenced by market sentiment or fundamentals?

Stock prices change due to supply and demand, company news, earnings, economic data, and investor sentiment. The balance between buyers and sellers drives price movements.