Recently Amazon has starting using the USPS to deliver more packages (or at least the last-mile delivery), and that service has been disappointing, I can usually count on a USPS package being delivered at least a day late, and more than once, it hasn't shown up at all, despite being marked as "delivered at front door".
In any case, while I would think that any unhappiness between UPS and Amazon would be resolved through their contracts, I doubt that UPS wants to rock the boat with Amazon, because even a small piece of the Amazon delivery pie is a lot of deliveries. So in this case, where workers health and safety is in question, it's good that the government stepped in to prevent UPS's desire to keep a customer happy from getting in the way of their worker's welfare.