Mega Evolution requires a user's keystone, and the Pokemon to hold a Mega Stone. You can have multiple that can turn Mega in your team, but only the one that has the Mega Stone can Mega Evolve. The logic of it in the anime is that the evolution must also require a strong bond between the trainer and the Pokemon.