I am hazarding a guess that routing the on-off power surge through the bar switch is doubleplusungood, so thought a relay was the best plan.
Only weird thing I can't figure out is whether the bulb itself is oriented properly. The filament (or whatever it is in an HID) has a little reflector opposite it.