The debris may have been taken off the valley floor as a glacier moved or fallen off the valley walls as a result of weathering . This debris may have been plucked off the valley floor as a glacier advanced or it may have fallen off the valley walls as a result of frost wedging or landslide .