It could've been in checked luggage and turned itself on from the movement. No way for the passengers to get to it. Unfortunately it didn't turn itself off (although if it did, and then later turned on again, that would've been even worse.)

The passenger may not have even known, I've certainly renamed friends' phones as a goof, although not to something that would get them in to trouble.