You can notice how the wire from the other into the bulb has been pulled back and bent. This leaves the wire going going straight out to be bent back and wired to the pins.

I use to pull ties on this end of the bulb to make sure the wire stay in place and the pull ties will be inside of the plastic to keep the wire stronger.

d1