Continuity mistake: When Pikachu agrees after Professor Oak says, "That's the spirit!" he is on one tile, but in the next shot, he is on two. (00:11:08)
Continuity mistake: When Misty says that she and her friends have to go to Valencia Island, her bag disappears. This also happens at the end of the episode. (00:14:48 - 00:20:53)
Answer: Yes it ran away because Layla hurt its feelings.