I completely agree normally but these are US troops and he is, unfortunately, their CiC.
I don't get the military/civilian distinction, either--he's the President. President Bush flew out to the memorial service at Virginia Tech (if I remember correctly). One hasn't even been scheduled at Ft. Hood, yet.
Now, if Obama blows that off people will have room to criticize.