The armed forces have a service commitment of several years (if I read this correctly, US Army is 8 years). People will sometimes change jobs within months.
They have the time to train someone into a role and typically don't have to worry about going to work for a competitor after they get out of AIT or A school.
People used to spend their entire careers at a single company. Something changed, and it wasn't worker attitude.