I say again, grounds. The path of the electrical flow goes to the bright filament. It can't get a good ground. It then goes through the tail light filament by means of the common base on the bulb. It then travels through the tail light circuit to the other side, to the switch and to the front lights. All lights will be flashing dimly.
Ground your bed.