I believe that Zelda sent Link back to when he had opened the Doors of Time. He had collected all the gems that would open the doors. The only difference was that the future was altered to not happen since Link had not officially opened the doors of time now. This caused the two timelines to...