The answer is Landward from the trench. Such mountain ranges are formed at convergent boundaries as two tectonic plates, moving in opposite directions, collide. As the oceanic plate is subducted, since its denser, it begins to melt to form magma. The magma rises and erupts to form the mountain ranges landwards on the overlying continental tectonic plate. A trench is characteristic of a subduction zone but cannot be offshore but rather onshore in the deep trench of the oceans.
Ridges that form along the sides of glacial valleys as a glacier melts are called lateral moraines. They are <span>parallel ridges of debris deposited along the sides of a glacier. Hope this answers the question. Have a nice day. Feel free to ask more questions.</span>