It's intentional. Only gen 2 pokemon from eggs gain xp in Gen 1 or you can be level 50 to also level up gen 2 pokemon in gen 1.