Hmm for some reason i thought the taillight was energized by the yellow wire from the headlight. If it’s not powered by that circuit why is it connected to it? If it’s not clear already my understanding of electronics is limited.
I tested in both directions and got OL readings which led me to pull it apart where i found this
So its definitely a resistor.