They most probably need coding to work properly. The car needs to be told that they are fitted so that it knows how to turn them on.
With modern Can-Bus wiring, components don't get a 12V direct feed from the switch/fusebox, it's more like a signal transmitted down the wire. If the car is sending the wrong signal to the lights, they won't work.