There could be any of these two reasons. 1. The dough is soft and has more moisture in it. If so as soon as you add samosa to oil, the moisture part will turn into tiny bubbles on the crust, 2. The oil is too hot. When samosa is added to too hot oil then curst will have so many bubbles and won’t get a flaky texture.