It may have been because the oven or skillet wasn't hot enough. With the oven method, warm up the pan in the oven before putting the pita bread dough on it. If you're using the stove top method, heat up the skillet or choose a cast iron pan which gets much hotter than an aluminum or stainless steel skillet.