> It's crazy that AMZN announces this and the stock goes up in after hours trading.
No it isn't. It is quite typical for a companies stock to spike up after a layoff announcement especially when the number was higher than initially reported.
And as always totally expected.