https://www.iba.sport/news/iba-clarifies-the-facts-the-letter-to-the-ioc-regarding-two-ineligible-boxers-was-sent-and-acknowledged/
The IBA statement made on Monday says (note these are small snippets from the statement):
'Following many complaints from several coaches, boxers agreed to gender testing.'
'The situation [of the failed eligibility test - my interpretation] was completely new to boxing, and IBA, following numerous consultations, decided to conduct a second testing before disqualifying the boxers.'
'On 12 May 2023, IBA amended its Technical and Competition Rules. After internal discussion, it was decided by the Board of Directors that IBA competitions will be conducted only between male athletes and between female athletes. Participation of DSD athletes (“differences of sexual development”) in boxing competitions were found dangerous for health and security of the boxers.'
These were some of the amendments:
'4.2.1.Boxers will compete against boxers of the same gender, meaning Women vs Women and Men vs Men as per the definitions of these Rules.
'4.2.2.To determine the gender, the Boxers can be submitted to a random and/or targeted gender test which will be conducted by IBA in cooperation with the selected laboratory personnel.'
This suggests that perhaps there was not routine sex testing done by the IBA.