A huge part of the gains are propped up by a handful of companies that investors believe are just on the cusp of artificial general intelligence and have thus valued those companies as having the potential to entirely eliminate entire categories of labour in the next decade.
The moment they realize they have been duped, all those "gains" will evaporate overnight.