Why share prices rise and fall

How do company performance, investor sentiment, and global factors affect prices?