Here's why:
* Short vowel sounds are typically quick and sharp, often with a closed mouth position.
* Long vowel sounds are typically drawn out and have a more open mouth position.
The "a" in "flag" makes the short "a" sound, similar to the "a" in "cat" or "hat".