You probably took raw and jpeg images.

take a look at the file extension, one is probably .nef and the other .jpeg

The raw images are exactly that: the raw data that came from the sensor.
They need more work, but have greater potential fro editing.