Hacked data that did not transfer from the game of origin (skipping HOME) will result in HOME not having the original data.
When HOME tries to fetch the original data, there is none, so it defaults to Poké Ball.
Inject data in the earliest game possible, and transfer legitimately if you care about legitimate transfers.