...
Really? I'm looking at a chart of AMZN in late 2002 and it's clear they were still recovering from the DOT-COM bust. There's also no indication in the chart that they were near bankruptcy.
Dotcom bust had to do with access to capital. The internet continued to grow sales, etc throughout the dotcom bust in aggregate. And yes the stock market did not rebound in 2002, but that doesn’t explain the fall off in sales combined with higher expenses.