Elephant pretends to eat tourist’s hat, then gives it back