||We study the dynamics of three populations evolving in a two-dimensional discrete grid according to rules of attraction, rejection, or indifference following the framework of the seminal model by Sakoda and we apply it to migration phenomena. An interesting feature of the Sakoda model is the existence of a Potts-like energy which, as a common principle, decreases as time passes by. Here we consider the evolution of two populations until stabilization, then, we perturb this attractor by the inclusion of a third arrival: the immigrants. We show the conditions under which this irruption does not alter significantly the previous attractor (a sociological morphostatic behaviour) or it is dramatically changed (morphogenetic behaviour). We observe empirically that for a morphostatic behaviour the energy decreases while for morphogenesis this energy increases, revealing an escalation of social tension.