I think it's common courtesy, and a respect of the personal privacy of others, to ask before taking a photo of an individual (as opposed to a crowd shot).
Or in this case, frame the shot so that you capture the candy gift without capturing the cabin crew member's face.