"The higher a pet's level is, the lesser the chance for successfully gaining a level for the pet. If you fed your pet a fruit and your attempt in leveling it up failed, your growth rate will be cut in half."
As for for the part of showing up as lvl 35, I think it was a visual bug until reloging. The mechanism of cutting growth to half in case of small chance failure is and was in the game all the time.