Diesel trucks tend to have very high compression engines, which are harder to get started, than a typical gasoline-powered engine. That means more cranking amps are a good thing and two batteries in parallel can provide that extra cranking power.
In addition to all that cranking, glowplugs can also discharge a battery, as they heat things up in diesel engines. How do you revive a dead battery. Jumping dual battery system