Time-dependent spectral-feature variations of stars displaying the B[e] phenomenon III. HD 50138