The Lee–Wick fields out of gravity