Quasi-periodic pulsations in a solar flare with an unusual phase shift