Yes. The shipper (the smaller local organization that FedEx or Amazon contracts with) turns around and hires drivers. FedEx pays the contract
company per piece, the company turns around and pays the drivers
per hour.
FedEx has some mystical software that helps them gauge how many employees per delivery, etc they need, but that stuff always leans toward "perfect scenarios". End result is the driver is asked to be perfect or more than perfect, never break any laws, never get delayed by ringing doorbells, etc, and still get all the deliveries done.
One easy way out for the driver is to mark everything in the computer as it is supposed to be, and then go back and fix it later (which eventually doesn't happen - there are stories about it).
UPS has something similar, but the drivers get paid overtime and are more unionized (protected) but even THEY will pull the above bullshit because there are often federal laws about truck drivers that they're skirting around.
I've seen my normal UPS driver stop by my house past 10PM near Christmas, dressed in normal street clothes and in his minivan with family, to drop off ap package that had been marked as delivered earlier in the day.
The above is why more and more of the systems require the driver to take a picture of the delivery, which of course adds time, and slows things down ...