You swapped side to side and they BOTH didnt work??
Then put back to original position and they both worked??
Take a look inside the bulb socket and look for anything that look like it has been scratched.
Then check the bulb mating surface for anything that looks funny.
Cant believe you have electrical problem on a newer bike.