Reductio ad Hitlerum
As person 2 has criticized the opponent as opposed to the argument by comparing them to Hitler without giving any reasons as to why X is not true, they have committed reductio ad Hitlerum.