WHY DID MY GOLDFISH LEAP OUT OF ITS TANK?

Because you didn’t have a tank with a cover on it. It may also have leaped out because the water quality was poor and the ammonia in it was hurting its skin. The other possibility is that something scared them – a looming shape, a sound or a vibration.