The US president has accused some NATO countries of not doing enough to support the US-Israel war on Iran.