The process which has taken place is called CRYSTALLIZATION.
Generally, crystallization is the process by which solid crystals are precipitated from solution. Crystallization can also occur when a crystal melt or when a crystal get deposited directly from a gas, although these cases are rarer compare to crystals forming from solutions.