Generally one of two things will cause headlights to dim; a power drain somewhere else (A/C compressor clutch, etc.) or a bad electrical connection.
If the dash lights dim at the same time, it's most likely an electrical draw or short circuit.
Don't automatically dismiss the A/C clutch because the A/C isn't on; some vehicles also run the A/C in defrost mode to dry the air.
Tailgate. Or try to pass on either side. Flash it's headlights at you.
Remove the alternator and have it tested at any auto parts store?
Headlights have a thermal circuit breaker. A short to the headlight (positive to ground) will cause the breaker to trip. The breaker cools and the lights come back on till the breaker heats up. Find the short and fix it.
If the headlights flash on and off, there may be a problem with the bulbs or fuses. There may also be a problem with the battery connections or wiring.
A mis-wiring or short circuit somewhere between the controls, fusebox and lights.
You could be hitting the flash feature on the turn signal arm when you use it.
you've got a short or a bad fuse
you probly have loose light bulbs
No this is a myth and what dumb question
because you turn them on and off, on and off...
Look to the opposite corner of the road but keep your steering wheel straight, so as to not veer in the direction you're staring. If they're driving with highs on, flash your high beams to indicate they should turn them off.
loose connection