Just like you warm up when before you exercise, it’s good to warm up before playing the guitar. It loosens up your fingers and hands.
This warm-up also happens to be a technique builder. The pattern isn’t completely linear (straight up the scale). It has some twists and turns and is a good challenge for your hands and brain.