Variable residual absorption spectra of AB Aurigae