Because the 3 different stats have different weighting on your CP, or in other words, 15 attack IV (usually) gives a different amount of CP than 15 defence or stamina.
CP gain due to IVs is dependent on the relative increase to the base stat, and if the stat is stamina or defence, the relative increase is then square rooted to get the CP increase, because that's how the CP formula works.
This means that increasing a stat that was higher to begin with generally less effect on your CP than increasing a lower stat.
For example, 1 attack IV on a Chansey will increase it's CP more than 15 stamina IV because it's stamina is already high and also because it's attack is so low.
In your case I'm guessing the higher IV Vaporeon has higher stamina and less attack than the lower IV Vaporeon.