why do crystals from in solutions once removed from the heat e.g. copper sulphate solution or a alum solution

Once the heat is removed and solidification starts, molecules tend to attach to an existing nucleation site in a preferred orientiation and configuration because they "fit better together" that way.