When the pita is placed in a very hot oven, the heat cooks the outside of the dough. At the same time, moisture from the water in the dough builds up in the middle, causing steam to build up and make them puff.