Think of the two points as being at the ends of an imaginary line segment.
The line segment can be at any angle relative to the horizontal.