It is a molex connector and the wires are supposed to be crimped into a pin.
https://images-na.ssl-images-amazon.com/images/I/71m73J5z6XL._AC_UL320_SR300,320_.jpg
Has a picture of the male and female sides. Pushing the wire back in wont work. You would need a pin pusher to remove them from the plastic housing, which will likely destroy the pins, and replacement pins to crimp on and push back in.
Its up to you but I would return the light and make them replace it.
Or you can just fix it yourself with something like this.