before the ice age, the rivers created v-shaped valleys because they have less energy as they erode compared to a U-shaped valley, which has more power to do lateral abrasion and vertical. As the glacier moves downslope due to gravity it uses abrasion to deepen the valley and it plucks the rock to steepen the sides which carves out the u-shaped valley. U-shaped valleys have flat valley floors because they scour everything until it reaches the bottom of the landscape.