What else would you expect them to do? Switch, take Spikes damage, and get confused again? Rotom-W was their Klefki counter. Of the things on their team, Rotom-W handles Klefki best. The only thing switching would accomplish was racking up passive damage and risking paralysis on another Pokemon.