New York Times writer forced to resign after opposing Israeli genocide in Gaza