@tavelallemant,
Are the two lights on the same switch?
If so, you likely have some issue at the switch like a loose wire. If you have a voltmeter, use it to see if you have current to the input side of the switch. If you do, then check the output side with the switch in the on and off position. If the switch is good, then do the same check on the closest light to the switch.