Like most previous Mainstream Pokemon Games, several Pokemon have the ability known as Pickup. This Ability allows a Pokemon to randomly pickup items if they are in your Party during your journey of The Galar Region (should they not be holding any items). Pokemon with the Pickup Ability can also find items that an opponent consumes while in battle. The higher the Level of a Pokemon with the Pickup Ability, the greater the likelihood of finding rarer items!
We have questions and answers related to this topic which may also help you:
Super Cheats is an unofficial resource with submissions provided by members of the public. These are not usually tested by us (because there are so many), so please use them at your own risk.