Why do activating missile seeker sometimes triggers TWS target switch?

As in title, sometimes it’s fine, sometimes it switches a target and activates the seeker, yet the tws tracking is not lost

did you check for keybind tangling?

By assigning the key (and combined keys with alt and stuff) to another function, yes