What's happening?

The Twilight Zone: 4x6

Death Ship

A three-man spacecraft lands on a planet only to discover the wreckage of a spacecraft identical to their own. Two of the crew are convinced that they are dead, but the captain refuses to see the truth.

The Twilight Zone: Season 4 Episode 6
Feb. 07, 1963