The absolute value helps because when you the absolute value is the the distance of a number away from 0. Meaning that if your finding distance it will never be negative.
Finding the distance between the two is subtracting one of the numbers from each ordered pair from each other. Whether the number is negative or positive, you always turn it, or leave it into a positive number because distance is always positive.