Why stock price go up and down

Is the stock price volatility higher in certain sectors or during economic uncertainty?