What causes a souffle that is being baked in an oven to collapse when the door slammed?

When the oven door is slammed, it creates a sudden change in air pressure inside the oven. This causes the souffle to lose volume and collapse. The souffle is made up of a mixture of egg whites and yolks, which are whipped until they are light and airy. When the air pressure inside the oven changes, the air bubbles in the souffle expand and burst, causing the souffle to collapse.