Trucks tend to have bigger alternators, so there is more power available. Even the most basic economy car has more than enough engine power, but the alternator can't deliver that power. The engine power instead mechanically goes through the transmission to the wheels. (in a hybrid car there are two alternators, one for the wheels and when for the rest of the electronics so the same problem exists)
the is solvable. you can buy bigger alternators, and in some cases there is enough room that they will even fit... However it is an additional upgrade that needs to be considered.