What differs between wāw in «جُوعٍ» and «خَوْفٍ»?

Al-Fīl and Quraysh: Applied Iẓhār, Ikhfāʾ, Idghām, Madd and Waqf