Maybe she was just cynically trying to exploit a market by doing a song like that.
Certainly not. She went overseas on numerous tours for the troops. And her support for them actually cost her quite a lot of her left wing fans.