Headlights trying to have their own dance party...

headlight switch is a good possibility
bad ground wire or connection
I had a similar problem with my headlights going out suddenly, it wasn't the fuse, it was the fuse holder, the connections were dirty and the fuse wasn't being held in tightly