The IBA is notoriously corrupt and in the pockets of Russia. The whole stuff against Khelif was likely made up, because she did not adhere to planned match fixing by the IBA.
Add to that the fact that she is from an African Muslim country and on top of that the country that kicked the French colonisers out. She was made the perfect targeted for all levels of racism and white supremacism, from the very blatant, to the more or less concealed “Liberals”.