If it happens when cranking motor its battery, motor is pulling all the juice from battery & not enough for HB, so it shuts down because of low voltage-not good thing for electronics if it happens everytime, probably one weak cell in battery.