Before the pricking, there were surfaces both inside and outside the thread loop. Surface on both sides pull it equally and the net force is zero. Once the surface inside was punctured, the outside surface pulled the thread to take the circular shape so that area outside the loop becomes minimum.