What are “Slashed Pokémon”?

Why is the hacked Pokémon slash system even a thing?

First defender in a gym should get 10 coins upon being placed in a gym, with the hourly bonus going up from there.