It is becuase they are getting too close. You cant not make them unsiege, they unsiege as a defense because they can only shoot far enough away. If they belonged to you they would say Target too Close.
You could set a trigger when they turn into regular tank make them siege, but they would want to unsiege again so they would probably go back and forth and not attack. Sorry I dont think this is possible