Because remember, velocity is a vector. That means it has both magnitude and direction. While speed is a scaling, it only has magnitude. Now, this velocity only has magnitude. It doesn't have direction. Because when we take the square root, we can't get a negative, so we always get positive.