In the case of fainting, the phase change in the state of the group was created by an exposed vulnerability - and then, even more importantly, by accepting help. When one person needed and accepted help and others gave it, the emotional exchange turned a crowd into a group. There is now a "debt", a difference of potentials that charges the group and creates structure where there was none. The group is now polarized, charged, it is alive. This happens in very much the same way as the difference in electric potentials or concentration of chemicals can create energy, and ultimately conditions for life itself to arise.