Ridges that form along the sides of glacial valleys as a glacier melts are calledĀ lateral moraines. They areĀ 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.