Wild to see this posted. I just had something similar happen to me on a recent trip. Other pilot (not this same guy) trying to sneakily take candid shots of the flight attendant standing at the flight deck door greeting the passengers while boarding. I don't understand why people behave like this.