In tall grass or caves, battles with wild Pokémon will occur when you run into Pokémon that you can see wandering around.
— Pokémon (@Pokemon) June 5, 2019
You can also trigger battles by running into the ❗️ icon that will pop up in patches of tall grass. #PokemonSwordShield pic.twitter.com/UlYNOs3soh