With the most recent update to Pokémon HOME allowing transfers to and from the newest games in the series, Pokémon Scarlet and Violet, there are also some restrictions to keep in mind when it comes to modifying a Pokémon's moves or abilities. Across the multiple Pokémon games now available on the Switch, these restrictions can make it confusing to keep track of any specific Pokémon's capabilities – luckily, however, the rules for what can and can't be transferred are mostly consistent, if somewhat convoluted.
https://screenrant.com/pokemon-home-move-ability-reset-transfer/