Well, ships have nuclear reactors so they got electricity to spare. But ground troops in tents running generators so they can use a microwave oven is just stupid.
They soldiers have other things like flashlights,GPS, night vision,heaters.It get very cold out there in Afghanistan during the winter time. There is even snow on the ground. What about A/C in the summertime? All those need power.