All of the above? But mostly Amazon. We need to stop letting companies get away with poor practices by blaming it on a contractor. Companies should be accountable for the behaviour of their contractors.
If Amazon wants to structure their delivery business around contractors, they have a responsibility to require the contractors provide good working conditions.