Israel takes part of the credit for the apparent softening of Palestinian resistance through a carrot-and-stick approach under which it has eased checkpoints and permitted economic growth even as it has maintained an army presence and cracked down on militants .