Say you put an alternator on the back wheels of golf cart and as the front wheels are spinning it is producing electricity to power the golf cart why doesnt the golf cart stay powered by the alternato?

Because not enough current is produced by this means to continue to drive the golf cart.
Because not enough current is produced by this means to continue to drive the golf cart.