The stock market is near all-time highs despite geopolitical conflicts, high energy prices, and economic concerns.