There was no teammate of Buzzwole which it could have been switched out into. If there were more than two Pokémon in the team, Buzzwoule would've switched out to a randomized teammate. If it were singles, with two Pokémon in each team, it would've switched out, but in doubles, you need at least three for phazing moves to work.