Reducing in mesh stretch at bone junction
Bones heads here need to be placed on the exact place of the folding.

Here the bones and the box are not on the same plane. So when the bone rotates it stretches the box:



This is the main problem.

Make so all bones are well aligned with the wanted folds, in all directions.

When the bone is aligned: