First look at a 1-bit comparator. The truth table has been expanded by two results and therefore the circuit diagram becomes much more complicated.
With the circuit shown you build the 1-bit magnitude comparator.
As you can see, a 1-bit magnitude comparator is significantly more complicated than the corresponding one-bit identity comparator.
Next, you look at the 2-bit magnitude comparator.