Do transit passengers need to get a K-ETA?

no. Transit passengers not entering Korea do not need to apply for K-ETA.
However, if you need to reissue your airline ticket to claim your baggage after immigration, you can apply for K-ETA.

Check ETA requirements