The promise of funding comes after the United States and the European Union said they were stopping aid to the Hamas government because it refuses to renounce violence and accept Israel .