Among them are: Crystallization from melt (igneous rocks) Precipitation from water (chemical sedimentary rocks, hydrothermal ore deposits) Biological activity (biochemical sedimentary rocks) Change to more stable state - (the processes of weathering, metamorphism, and diagenesis).