Why does the third person template character rotate to whatever direction i'm walking?

i’m not seeing any code that does this and i don’t want it to happen

Because there is an option “Orient to movement” in character or in its movement component.

And you can untick that checkbox and tick the checkbox for pawn Uses Control Yaw instead, and see if that acts more like you want.