For what it's worth, RAH discussed his reasons for writing Starship Troopers in the anthology 'Expanded Universe'.
IIRC, Starship Troopers was written in a fit of anger at the Eisenhower Administration for suspending nuclear testing while the Soviets happily went forward with nuclear testing...