A box of wine works the same way as a bottle of wine: it is filled with air and sealed. The pressure inside the wine box causes the air to expand, and this expansion causes the wine to burst open.