This is violating the ICJ’s legally binding order to allow humanitarian aid into Gaza. By cutting off funding the pro Israel countries are effectively complicit in supporting Israel’s genocide.
Japan isn’t a party to the ruling but it is a signatory to the genocide convention as are the other countries that have withheld funding so they have an obligation not to make the situation worse.