The stock market is often seen as a reflection of investor confidence. When markets rise, people feel optimistic. When they…