Officials anticipated a problem soon after Defense Secretary Pete Hegseth lifted the vaccine requirement in April.