IMF & WB feel threatened by China and for a good reason . Lets not forget that Western Institutions have had a monopoly on global lending. This was until China launched AIIB, NDB and BRI associated loans.IMF & WB are just departments of the western imperialist hegemony machine (part of the post-war Bretton Woods world order), they cooperated with China from the 90s to the 1st decade of 21st century when they thought China was controllable. They think differently now and bets on India to contain China, and attract some of China's production/supply chains. Obviously things aren't working out for them...
Now countries are no longer dependent on WB and IMF to fund them and have other institutions to look forward to.