Yeah, pretty much Chad. XD
It sources from the fact that Keshin/Joanne are a for-hire bounty hunter, actually. They kill, capture, or steal whatever or whoever someone pays them to. This results in a situation where both the Rebellion and the Empire have, at various points, paid them to attack someone from the other. Since Keshin is completely indiscriminate in who they work for, well....there you go.
To make the whole thing even weirder, Keshin has been hired to kill Myitt specifically so many times, and has been hired by Myitt to kill people so many times.....that they've developed this bizarre frenemy relationship. It's fun. XD