The two-star generals who command the state National Guards report to the governors, not the Defense Department. The Adjutants General are not required to meet any military service or education requirements of active duty military personnel.
I'm aware of the chain(s) involved, thank you very much. If you still believe that state flags are more appropriate to cover a soldier's remains, so be it.