The idea being that otherwise it's not fair to the owners of the top level containers, which have a higher chance of falling off than the bottom level containers. Everyone's share of the boat is equal.
For this reason you always want to take the insurance that is offered against this, just in case that one container contained something worth a few million, and suddenly you're on the hook to pay an amount that is a multiple of what you were shipping in the first place.