Once that happened with me too. In my screen I was not walking and I was standing but in other people's screen I was walking. So maybe u r thinking that u r in road but in actually u r in grass and some pokwmons are attacking you. It's for only your internet speed ig.