Khashoggi was still alive and well, and a thorn in the Saudi’s side when the Queen accepted the earrings and they were passed onto Meghan as her wedding gift (which meant she had primary custody of them).
He’d been murdered however a few weeks before Meghan wore them for the first time, by which time the Saudi royals had been publicly implicated in his death. Thry’d been well and truly accused of involvement by the time she wore them a second time. Both times, the provenance of the earrings was deliberately concealed. So that one’s on Meghan.