>>471139501. Phoebe is an effect on the player's own pokemon, not the opponent or the opponent's pokemon.
2. Ranger and Milotic cancel out a different set of effects.
You are right that ranger would cancel out phoebe if it lasted past the player's turn. Ranger cancels nearly all effects on the field on both sides, Milotic is limited to the player and their own hand.