dirty or bad grounds, or the alt is bad.

you can have that tested as well. test the battery volts car running, and off, when running you should see 13 to 14 volts or a bit more. off no less then 12 volts.

you can also have the battery load tested. not sure if they did that for the bat test.