I've had also quite strange experience when departing from the Ben Gurion airport in Tel Aviv two months ago. Neglecting the fact I got a very thorough security check for no apparent reason, have been asked questions like "Did you like it in Syria?", and got my pants wiped with a bomb detectors, the most humiliating thing that happened was that they asked me to unlock my iPhone and then walked away with it for a good few minutes.
I have no idea what did they do with the phone, did they read my emails? check my photos? installed some spyware? I have no idea, but I'm sure if I rejected to unlock it, I would be missed my flight. I felt like crap after that.
Interestingly, they didn't care about my second phone, an old Nokia, probably iPhone is more popular.