Why deuteriumhydrogen and tritium are isotopes of each other?

All have one proton but 1, 0 and 2 neutrons.