The pilots suspected their altitude indicator was wrong, so they asked air traffic control to confirm their altitude. They did and it agreed with their own readings so they ignored other indications that they were going to crash into the ocean, which is unfortunately what happened.
Neither the pilots nor air traffic control apparently knew that both readings were supplied by the same faulty source on the plane and sent via the plane’s transponder.
I often think of this when I hear people say that multiple sources indicate something strange. These systems are often intertwined and networked in unintuitive ways and just because something appears on multiple panes of glass does not necessarily mean it’s been independently confirmed.