The last paragraph makes the connection:
> When demand started to wane with customers moving back to shopping in stores, Amazon initiated a broad cost-cutting review to pare back on units that were unprofitable
Waning demand triggered cost-cutting, which focused on unprofitable orgs.