Question: why do ivs change when you trade?
Answer: IVs change when you Trade? Almost certainly to discourage cheaters, Pokémon traded in Go get a change to their IVs and stats. This prevents players from "selling" 100% IV Pokémon, while the limits on Trading prevent players from constantly "rerolling" for better IVs.