Comparing Object C7 S7

Totally a stupid mistake I know but here’s my code and then the result, not what I was expecting.
Code:
point = Point(1, 2)
other = Point(1, 2)
print(f"Point = ", point)
print(f"other = ", other)
print(f"Point and other are equal: ", point == other)

point = Point(10, 20)
other = Point(1, 2)
print(f"Point = ", point)
print(f"other = ", other)
print(f"Point is greater than other: ", point > other)

point = Point(1, 2)
other = Point(10, 20)
print(f"Point = ", point)
print(f"other = ", other)
print(f"Point is less than other: ", point > other)

Output:
Point = (1, 2)
other = (1, 2)
Point and other are equal: True
Point = (1, 20)
other = (1, 2)
Point is greater than other: False
Point = (1, 2)
other = (1, 20)
Point is less than other: False

Why am I getting Point = (1, 20) instead of Point = (10, 20) on the 2nd block of code and other = (1, 20) instead of other = (10, 20) on the 3rd block of code?

Before anyone tells me I have redundant code I already know that, I’ve been testing and left it there.