Hi Pat,
On reset the KL02 enables a pull-up on PTA2/SWD_DIO, and a pull-down on PTA0/SWD_CLK. Therefore, until you change the mux and/or pull-up/down settings in your code, PTA0 & PTA2 are set correctly for programming.
Also, the KL02 does not feature JTAG. All programming/debugging is performed via SWD (Serial Wire Debug) and your IAR I-JET is capable of programming/debugging over SWD.
Best regards,
Martyn