Barack Obama has weighed in on the Israel-Hamas conflict, saying “Nobody’s hands are clean”