What I do not get is Wikipedia. Why does it go on finding the gradient?
You subtract two nearby pixel values. That is a gradient, or as close as you can get on a discrete image.
Also that looks like the Pythagorean Theorem not a gradient equation.
As the book text say, "it is often better to consider the two templates as providing the components of an edge vector". If you want the length of a vector, you use the Pythagorean Theorem.
The better question is: why use the max or the sum of the absolute values, or: what's the difference?
To show that, it's best to try the filter on a rotationally symmetric template:

that way, we can see how it acts on different edge angles:

As you can see, adding the absolute values of the gradient vector (this is sometimes called the "L1-Norm") gives larger edge strengths for horizontal and vertical edges than diagonal edges. Taking the max of the two absolute values of the gradient vector (also known as the "L-infinity Norm") gives slightly larger edge values for diagonal edges. Using the ordinary Euclidean norm (i.e. the Pythagorean Theorem) gives exactly the same edge strength for any angle, which is of course the right result.
The only downside (I'm aware of) is that this requires two multiplications and a square root for every pixel, which used to be very expensive operations when the Roberts operator was invented. They're still expensive on mobile or embedded platforms today, but on a PC, you might not even notice the difference.