The sequence of events that can lead to magma becoming soil is C. crystallization followed by exposure and weathering. Under these circumstances it may happen that magma actually turns to soil - it cools off so much that it becomes the ground we walk upon.
bruh sorry what are you saying
It is most likely to form a sedimentary rock due to it exposing to weather on a surface. When a rock is on surface, it may be eroded by weathering such as rain and wind, which cause it to loose fragments. The fragments will then be carried down to river by moving agents or gravity, sedimentation or deposition will then occur, the overlaying layers compacting the fragments into a solid rock after the process of lithification and cementation in which rocks are bind together by minerals dissolved such as silica and calcite.