Stability and instability of weighted composition operators